You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "kirktrue (via GitHub)" <gi...@apache.org> on 2025/01/14 00:27:55 UTC

[PR] KAFKA-17623: Flaky testSeekPositionAndPauseNewlyAssignedPartitionOnPartitionsAssignedCallback [kafka]

kirktrue opened a new pull request, #18515:
URL: https://github.com/apache/kafka/pull/18515

   Update the logic to ensure that the `tp` partition is actually assigned (or revoked) to the `Consumer` before using it in the various `Consumer` API calls in the test.
   
   The new consumer does not necessarily receive _all_ the partitions it's assigned in a single call to `onPartitionsAssigned()` (same with `onPartitionsRevoked()`). The test assumed that because it received _a_ call to `onPartitionsAssigned()` that means that call included _both_ partitions. That is _usually_ true, but not always.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-17623: Flaky testSeekPositionAndPauseNewlyAssignedPartitionOnPartitionsAssignedCallback [kafka]

Posted by "kirktrue (via GitHub)" <gi...@apache.org>.
kirktrue commented on PR #18515:
URL: https://github.com/apache/kafka/pull/18515#issuecomment-2594006223

   @lianetm—can you take a look at this? Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-17623: Flaky testSeekPositionAndPauseNewlyAssignedPartitionOnPartitionsAssignedCallback [kafka]

Posted by "lianetm (via GitHub)" <gi...@apache.org>.
lianetm merged PR #18515:
URL: https://github.com/apache/kafka/pull/18515


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org