Search code examples
apache-kafkakafka-producer-apispring-kafka

How to seed 10 million messages into Kafka?


As of my requirement on real time analytics I have to insert 10 million records into Kafka and on top of that I have to write custom consumer logic.But to fulfill this requirement how can I seed 10 million records into Kafka within 3-5 minutes time?

Preferably we want to use Spring boot as per the project requirements. Please suggest


Solution

  • Several options: