-
Notifications
You must be signed in to change notification settings - Fork 436
feat: Add limit to topic-to-external-resource mappings and fix test infrastructure #895
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
|
🎉 All Contributor License Agreements have been signed. Ready to merge. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…hines & disbaled backward compatibility tests
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
00anshjain
left a comment
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.
Approved, with a minor comment
| // Disabled backward compatibility tests due to cgroupv2 issues with older ES versions | ||
| // @Test | ||
| public void testBackwardsCompatibilityDataStream() throws Exception { | ||
| testBackwardsCompatibilityDataStreamVersionHelper("7.0.1"); | ||
| } | ||
|
|
||
| @Test | ||
| // @Test | ||
| public void testBackwardsCompatibilityDataStream2() throws Exception { | ||
| testBackwardsCompatibilityDataStreamVersionHelper("7.9.3"); | ||
| } | ||
|
|
||
| @Test | ||
| // @Test |
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.
Should we add a brief comment above each disabled test explaining why it’s been disabled?
Also, can we link the corresponding JIRA ticket here where this issue is being tracked?
Summary
This PR introduces a configurable hard limit for topic-to-external-resource mappings and addresses test infrastructure issues.
Changes Made
New Configuration Parameter
max.external.resource.mappingsValidation Logic
getTopicToExternalResourceMap()method to enforce the mapping limitConfigExceptionwith descriptive error message when limit is exceededTest Infrastructure Updates
Test Coverage
Added comprehensive test cases in
ValidatorTest.javaConfiguration Usage
Users can now configure the connector with a custom limit:
Error Handling
When the limit is exceeded, users receive a clear error message:
Backward Compatibility
Testing