-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
MINOR: Improve Kafka Test Connection #15207
Conversation
@@ -60,6 +69,14 @@ def get_connection( | |||
if connection.saslMechanism: | |||
connection.consumerConfig["sasl.mechanism"] = connection.saslMechanism.value | |||
|
|||
if ( | |||
connection.consumerConfig.get("security.protocol") is None |
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.
is not None?
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.
is None
is intended, let's say user has already provided the security.protocol
in consumer config then that would be given precedence over the new field that has been added.
Quality Gate passed for 'open-metadata-ui'Issues Measures |
Quality Gate failed for 'open-metadata-ingestion'Failed conditions |
Describe your changes:
Fixes
I worked on ... because ...
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>