Skip to content
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

Merged
merged 2 commits into from
Feb 19, 2024
Merged

MINOR: Improve Kafka Test Connection #15207

merged 2 commits into from
Feb 19, 2024

Conversation

ulixius9
Copy link
Member

Describe your changes:

Fixes

I worked on ... because ...

Type of change:

  • Bug fix
  • Improvement
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

@github-actions github-actions bot added UI UI specific issues Ingestion backend safe to test Add this label to run secure Github workflows on PRs labels Feb 16, 2024
@@ -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
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is not None?

Copy link
Member Author

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.

Copy link

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 61%
61.44% (31365/51047) 40.47% (12505/30898) 40.82% (3854/9441)

Copy link

sonarcloud bot commented Feb 16, 2024

Quality Gate Passed Quality Gate passed for 'open-metadata-ui'

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

sonarcloud bot commented Feb 16, 2024

Quality Gate Failed Quality Gate failed for 'open-metadata-ingestion'

Failed conditions
0.0% Coverage on New Code (required ≥ 20%)

See analysis details on SonarCloud

@ulixius9 ulixius9 merged commit 64e3ced into main Feb 19, 2024
22 of 23 checks passed
@ulixius9 ulixius9 deleted the kafka_test_conn branch February 19, 2024 04:41
ulixius9 added a commit that referenced this pull request Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Ingestion safe to test Add this label to run secure Github workflows on PRs UI UI specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants