Kafka - with Java/Python
What will be the output of the following Python code using
confluent-kafka producer?
from confluent_kafka import Producer
p = Producer({'bootstrap.servers': 'localhost:9092'})
p.produce('my_topic', key='key1', value='hello')
p.flush()
print('Message sent')