Kafka - Producers
Given the following Kafka producer code snippet, what will be the partition number if the topic has 3 partitions?
String key = "user123"; String value = "purchase"; ProducerRecordrecord = new ProducerRecord<>("orders", key, value); // Assume default partitioner is used int partition = record.partition();
