Kafka, Kafka Consumer, Kafka Producer, Confluent Kafka, Streaming.
publish function, all record pairs are sent to the Kafka topic one by one through producer.producer(...) a function call. Here it is important to highlight, the producer.flush call at the end of the for loop, as this call ensures all messages are delivered to the Kafka broker. In the below image,