Kafka - with Java/Python
What will happen when the following Python code using
confluent-kafka producer is executed?
from confluent_kafka import Producer
producer = Producer({'bootstrap.servers': 'localhost:9092'})
producer.produce('my_topic', value='hello')
producer.poll(0)
producer.flush()