Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
MINOR: Add unit test for KAFKA-8676 to guard against unrequired task restarts #7287
After KIP-415 requesting restart only of the affected connector tasks is required to avoid unnecessary task restarts. This PR adds a unit test to guard against changes in this behavior.
The original fix is introduced by the PR prefixed with KAFKA-8676
Committer Checklist (excluded from commit message)
rhauch left a comment
LGTM. Thanks, @kkonstantine, for providing a test case for #7097. I verified that this new unit tests fails without the change in #7097, but succeeds once that change is made. And the new unit test does appear to verify the logic correctly.