Version 7 of Kafka allowed to send messages to multiple topics within one request. I assume I can do samething in version 8, am I correct? Does my code piece look correct? List<KeyedMessage<String, String>> topicsMsgsList = new ArrayList(); KeyedMessage<String, String> data1 = new KeyedMessage<String, String>(topic1, msg); KeyedMessage<String, String> data2 = new KeyedMessage<String, String>(topic2, msg); topicsMsgsList.add(data1); topicsMsgsList.add(data2); producer.send( topicsMsgsList );
Jun On Tue, Jun 4, 2013 at 12:36 AM, Vadim Keylis <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
Apache Lucene, Apache Solr and all other Apache Software Foundation project and their respective logos are trademarks of the Apache Software Foundation.
Elasticsearch, Kibana, Logstash, and Beats are trademarks of Elasticsearch BV, registered in the U.S. and in other countries. This site and Sematext Group is in no way affiliated with Elasticsearch BV.
Service operated by Sematext