There was an error while loading. Please reload this page.
1 parent 424e3ed commit 33e49c0Copy full SHA for 33e49c0
main.py
@@ -55,6 +55,7 @@ def produce_msgs(security_protocol='SSL',
55
producer = KafkaProducer(
56
bootstrap_servers=hostname + ':' + port,
57
security_protocol='SASL_SSL',
58
+ sasl_mechanism='PLAIN',
59
sasl_plain_username=username,
60
sasl_plain_password=password,
61
value_serializer=lambda v: json.dumps(v).encode('ascii'),
0 commit comments