Hi All,
I am writing java program with thread pool may be 100 threads and all
threads will have kafka producers
(org.apache.kafka.clients.producer.ProducerRecord) for the same topic, will
their be any problem ?
thread-1
ProducerRecord<String, String> data = new ProducerRecord<>(topic,
msg); // same topic
stringProducer.send(data);
thread-2
ProducerRecord<String, String> data = new ProducerRecord<>(topic,
msg); // same topic
stringProducer.send(data);
thread-3
ProducerRecord<String, String> data = new ProducerRecord<>(topic,
msg); // same topic
stringProducer.send(data);
Regards,
Ranjit