-
Notifications
You must be signed in to change notification settings - Fork 15
MLE-24829 Fixing cloud auth #242
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
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.
Pull Request Overview
This PR enables cloud authentication support for the Kafka connector by adding "CLOUD" as a valid security context type in the configuration validator.
- Added "CLOUD" to the list of valid security context types
- Added a new test to verify cloud authentication configuration is accepted
- Removed two unused test utility classes (MarkLogicSourceConnectorConfigBuilder and MarkLogicSinkConnectorConfigBuilder)
- Updated documentation to clarify cloud authentication configuration
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/main/java/com/marklogic/kafka/connect/MarkLogicConfig.java | Added "CLOUD" to the validator for CONNECTION_SECURITY_CONTEXT_TYPE |
| src/test/java/com/marklogic/kafka/connect/source/ReadRowsViaOpticDslTest.java | Added cloudAuth test to verify cloud security context type is accepted |
| src/test/java/com/marklogic/kafka/connect/source/MarkLogicSourceConnectorConfigBuilder.java | Deleted unused test utility class |
| src/test/java/com/marklogic/kafka/connect/sink/MarkLogicSinkConnectorConfigBuilder.java | Deleted unused test utility class |
| docs/configuring-the-connector.md | Updated documentation to include CLOUD in list of security context types and added explicit configuration examples |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
docs/configuring-the-connector.md
Outdated
| - `ml.connection.securityContextType=CLOUD` | ||
| - `ml.connection.basePath` = the base path in your Progress Data Cloud instance that points to the REST API server you | ||
| wish to connect to | ||
| - `ml.connection.cloudApiKey` = the API key for authenticating with your MarkLogic Cloud instance |
Copilot
AI
Oct 22, 2025
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.
The documentation still references 'MarkLogic Cloud' but line 65 was updated to 'Progress Data Cloud'. This should be updated to 'Progress Data Cloud' for consistency.
|
Copyright Validation Results ⏭️ Skipped (Excluded) Files
✅ Valid Files
✅ All files have valid copyright headers! |
2cabbc8 to
43dcf4b
Compare
Kafka validator for securityContextType values needs to accept "cloud". Deleted a couple unused test classes too.
43dcf4b to
47be8ce
Compare
Kafka validator for securityContextType values needs to accept "cloud".
Deleted a couple unused test classes too.