-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update KafkaEventBroker to support SASL_SSL and PLAINTEXT protocols #6943
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Requesting changes for now as the producer/consumer variable needs to be fixed
# `_create_producer()` raises `kafka.errors.NoBrokersAvailable` exception | ||
# which means that configuration seems correct but a connection to | ||
# broker cannot be established | ||
("kafka_sasl_plaintext_endpoint.yml", kafka.errors.NoBrokersAvailable), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Optional: parametrize directly over the YAML strings instead of the filenames, and get rid of the files. I think it's a bit cleaner having the content in the test, especially for small files, but really this is up to you
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
Proposed changes:
Status (please check what you already did):
black
(please check Readme for instructions)