Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

kafka consumer to write into DB

$
0
0
Hello, all

I never developed a kafka consumer, I want to be able to make an advanced
kafka consumer in java to consume the data and continuously write the data
into postgresql DB. I am thinking to create a map in memory and getting a
predefined number of messages in memory then write into DB in batch, is
there a API or sample code to allow me to do this?

thanks

Alec Li

Viewing all articles
Browse latest Browse all 5648

Trending Articles