KAFKA-9969: Exclude ConnectorClientConfigRequest from class loading isolation#8630
Conversation
…solation Signed-off-by: Greg Harris <gregh@confluent.io>
|
@kkonstantine Can you take a quick look at this and kick off some tests? |
kkonstantine
left a comment
There was a problem hiding this comment.
@gharris1727 are we convinced this is the only outlier?
Also, let's get a system test run too from this branch
|
ok to test |
Signed-off-by: Greg Harris <gregh@confluent.io>
|
I've refactored the Based on the pattern from the other modules under
I've left the two classes which do not meet my expectations commented out in the test. I'm not sure what the intended isolation behavior in this case should be. |
Do we have a principle to deduce which class should be loaded in isolation, and which should not? Or is it completely a guess based on experience (if a class is a dep only for plugins, it will be fine to load in isolation)? |
|
ok to test |
kkonstantine
left a comment
There was a problem hiding this comment.
The fix makes sense to add, in principle.
Should we explicitly exclude ConnectorClientConfigRequest\\$ClientType too? I noticed it might be loaded first, before ConnectorClientConfigRequest.
Also, please resolve the conflict.
Signed-off-by: Greg Harris <gregh@confluent.io>
…g group Signed-off-by: Greg Harris <gregh@confluent.io>
Signed-off-by: Greg Harris <gregh@confluent.io>
|
@kkonstantine I'd appreciate another pass when you're available, thanks! |
|
retest this please |
kkonstantine
left a comment
There was a problem hiding this comment.
LGTM
Thanks for the fix and the tests @gharris1727
kkonstantine
left a comment
There was a problem hiding this comment.
LGTM
Thanks for the fix and the tests @gharris1727
…solation (#8630) This fix excludes `ConnectorClientConfigRequest` and its inner class from class loading isolation in a similar way that KAFKA-8415 excluded `ConnectorClientConfigOverridePolicy`. Reviewer: Konstantine Karantasis <konstantine@confluent.io>
…solation (#8630) This fix excludes `ConnectorClientConfigRequest` and its inner class from class loading isolation in a similar way that KAFKA-8415 excluded `ConnectorClientConfigOverridePolicy`. Reviewer: Konstantine Karantasis <konstantine@confluent.io>
…solation (#8630) This fix excludes `ConnectorClientConfigRequest` and its inner class from class loading isolation in a similar way that KAFKA-8415 excluded `ConnectorClientConfigOverridePolicy`. Reviewer: Konstantine Karantasis <konstantine@confluent.io>
…solation (#8630) This fix excludes `ConnectorClientConfigRequest` and its inner class from class loading isolation in a similar way that KAFKA-8415 excluded `ConnectorClientConfigOverridePolicy`. Reviewer: Konstantine Karantasis <konstantine@confluent.io>
* 'trunk' of github.com:apache/kafka: (42 commits) HOTFIX: Fix compile error in TopicAdminTest (apache#8866) KAFKA-10144: clean up corrupted standby tasks before attempting a commit (apache#8849) KAFKA-10157: Fix broken tests due to InterruptedException from FinalizedFeatureChangeListener (apache#8857) KAFKA-9432: automated protocol for DescribeConfigs (apache#8312) KAFKA-10049: Fixed FKJ bug where wrapped serdes are set incorrectly when using default StreamsConfig serdes (apache#8764) KAFKA-10027: Implement read path for feature versioning system (KIP-584) (apache#8680) KAFKA-10085: correctly compute lag for optimized source changelogs (apache#8787) KAFKA-10086: Integration test for ensuring warmups are effective (apache#8818) KAFKA-9374: Make connector interactions asynchronous (apache#8069) MINOR: reduce sizeInBytes for percentiles metrics (apache#8835) KAFKA-10115: Incorporate errors.tolerance with the Errant Record Reporter (apache#8829) KAFKA-9216: Enforce that Connect’s internal topics use `compact` cleanup policy (apache#8828) KAFKA-9845: Warn users about using config providers with plugin.path property (apache#8455) KAFKA-7833: Add missing test (apache#8847) KAFKA-9066: Retain metrics for failed tasks (apache#8502) KAFKA-9841: Revoke duplicate connectors and tasks when zombie workers return with an outdated assignment (apache#8453) KAFKA-9985: Sink connector may exhaust broker when writing in DLQ (apache#8663) KAFKA-9441: remove prepareClose() to simplify task management (apache#8833) KAFKA-7833: Add Global/StateStore name conflict check (apache#8825) KAFKA-9969: Exclude ConnectorClientConfigRequest from class loading isolation (apache#8630) ...
…t-for-generated-requests * apache-github/trunk: (248 commits) KAFKA-10049: Fixed FKJ bug where wrapped serdes are set incorrectly when using default StreamsConfig serdes (apache#8764) KAFKA-10027: Implement read path for feature versioning system (KIP-584) (apache#8680) KAFKA-10085: correctly compute lag for optimized source changelogs (apache#8787) KAFKA-10086: Integration test for ensuring warmups are effective (apache#8818) KAFKA-9374: Make connector interactions asynchronous (apache#8069) MINOR: reduce sizeInBytes for percentiles metrics (apache#8835) KAFKA-10115: Incorporate errors.tolerance with the Errant Record Reporter (apache#8829) KAFKA-9216: Enforce that Connect’s internal topics use `compact` cleanup policy (apache#8828) KAFKA-9845: Warn users about using config providers with plugin.path property (apache#8455) KAFKA-7833: Add missing test (apache#8847) KAFKA-9066: Retain metrics for failed tasks (apache#8502) KAFKA-9841: Revoke duplicate connectors and tasks when zombie workers return with an outdated assignment (apache#8453) KAFKA-9985: Sink connector may exhaust broker when writing in DLQ (apache#8663) KAFKA-9441: remove prepareClose() to simplify task management (apache#8833) KAFKA-7833: Add Global/StateStore name conflict check (apache#8825) KAFKA-9969: Exclude ConnectorClientConfigRequest from class loading isolation (apache#8630) KAFKA-9991: Fix flaky unit tests (apache#8843) KAFKA-10014; Always try to close all channels in Selector#close (apache#8685) KAFKA-10079: improve thread-level stickiness (apache#8775) MINOR: Print all removed dynamic members during join complete (apache#8816) ...
This is a partner to #6796 that applied the same change but for
ConnectorClientConfigOverridePolicy.Signed-off-by: Greg Harris gregh@confluent.io
Committer Checklist (excluded from commit message)