Ask Your Question
0

KafkaProducer support to write it into multiple topic

asked 2018-07-19 09:41:27 -0500

ravi gravatar image

updated 2018-07-20 15:13:50 -0500

metadaddy gravatar image

The KafkaMultiTopicConsumer exists, Can we have the KafkaProducer to write it into multiple topics?. Can i give comma separated list to write into multiple topics?

Please share some examples/links.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-07-20 15:16:23 -0500

metadaddy gravatar image

The Kafka Producer can only write messages to a single topic. You can use multiple Kafka Producers in a single pipeline to achieve the result you're looking for:

image description

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-07-19 09:41:27 -0500

Seen: 48 times

Last updated: Jul 20