LookupableTableSource from kafka consumer

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

LookupableTableSource from kafka consumer

Clay Teeter
Hey, does anyone have any examples that i can use to create a LookupableTableSource from a kafka topic?

Thanks!
Clay

Reply | Threaded
Open this post in threaded view
|

Re: LookupableTableSource from kafka consumer

Jark Wu-3
Hey, 

You can take JDBCTableSource [1] as an example about how to implement a LookupableTableSource.
However, I'm not sure how to support lookup for kafka. Because AFAIK, kafka doesn't have the ability to lookup by key?

Best,
Jark


On Tue, 21 Apr 2020 at 19:44, Clay Teeter <[hidden email]> wrote:
Hey, does anyone have any examples that i can use to create a LookupableTableSource from a kafka topic?

Thanks!
Clay

Reply | Threaded
Open this post in threaded view
|

Re: LookupableTableSource from kafka consumer

Danny Chan
We usually implementation a LookupableTableSource based on k-v store data sources, such as the ES, Hbase and Redis.
For Kafka, what we usually do is a regular stream join [1]


Best,
Danny Chan
在 2020年4月21日 +0800 PM8:02,Jark Wu <[hidden email]>,写道:
Hey, 

You can take JDBCTableSource [1] as an example about how to implement a LookupableTableSource.
However, I'm not sure how to support lookup for kafka. Because AFAIK, kafka doesn't have the ability to lookup by key?

Best,
Jark


On Tue, 21 Apr 2020 at 19:44, Clay Teeter <[hidden email]> wrote:
Hey, does anyone have any examples that i can use to create a LookupableTableSource from a kafka topic?

Thanks!
Clay