smjn opened a new pull request, #24413: URL: https://github.com/apache/kafka/pull/24413
With share group assignor offloading, a new member receives its partition assignment a few heartbeats after joining. The mixed tiered/local DLQ tests produced the second (local-only) batch before starting the consumer, so the delayed assignment consumed the topic's 10s local retention and the second batch was tiered before it was rejected, failing the "unexpectedly tiered" check. In both `ShareConsumerDLQTest.testDlqCopiesRecordsReadFromRemoteAndLocalStorage` and `ShareConsumerDLQTieredStorageTest.test_mixed_tiered_and_local_dlq_reject`: - start the consumer and reject the tiered batch before producing the second batch, which also proves the member is assigned and fetching; - once the first batch is tiered, set local.retention.ms=-2 (use retention.ms) so the second batch stays local for the rest of the test; - in the integ test, assert the "not all tiered" condition immediately after rejecting instead of waiting on a condition that cannot recover. Related to changes made in https://github.com/apache/kafka/pull/24319 -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
