Kafka - with Java/Python
What is the issue with the following Python
confluent-kafka producer code?
from confluent_kafka import Producer
p = Producer({'bootstrap.servers': 'localhost:9092'})
p.produce('topic1', value='message')
# Program ends here without flush()