Kafka - Topics and Partitions
Given a Kafka topic with 3 partitions, what happens if you send messages with different keys in this code?
What is true about message order?
producer.send(new ProducerRecord<>("topic", "key1", "msg1"));
producer.send(new ProducerRecord<>("topic", "key2", "msg2"));
producer.send(new ProducerRecord<>("topic", "key1", "msg3"));What is true about message order?
