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

addServicePrincipalSupportInKafkaConnector #39490

Merged

Conversation

xinlian12
Copy link
Member

@xinlian12 xinlian12 commented Apr 1, 2024

Add service principal support in kafka connector
Fixes: #38767

Example to use service principal auth:

config.put("kafka.connect.cosmos.auth.type", "ServicePrincipal");
config.put("kafka.connect.cosmos.account.tenantId", $"{ACCOUNT_TENANT_ID}");
config.put("kafka.connect.cosmos.auth.aad.clientId", $"{ACCOUNT_AAD_CLIENT_ID}");
config.put("kafka.connect.cosmos.auth.aad.clientSecret", $"{ACCOUNT_AAD_CLIENT_SECRET}");

Copy link
Member

@kushagraThapar kushagraThapar left a comment

Choose a reason for hiding this comment

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

Overall looks good @xinlian12 - with some minor comments on re-naming to kafka prefix classes.

@xinlian12
Copy link
Member Author

/azp run java - cosmos - tests

@xinlian12
Copy link
Member Author

/azp run java - cosmos - tests

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@xinlian12
Copy link
Member Author

Flaky local tests: batchItemETagTest

@xinlian12
Copy link
Member Author

/check-enforcer override

@xinlian12 xinlian12 merged commit 997c1e0 into Azure:main Apr 2, 2024
67 of 69 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Kafka V2]Add AAD support
2 participants