You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "nileshkumar3 (via GitHub)" <gi...@apache.org> on 2026/05/19 12:24:05 UTC

[PR] KAFKA-20587: Wait for global store topic partitions in test setup [kafka]

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

   ## Summary
   
   `KafkaStreamsTelemetryIntegrationTest.shouldPushGlobalThreadMetricsToBroker`
   is flaky because `EmbeddedKafkaCluster.createTopic` only waits until the
   topic name appears in `listTopics()`, not until partition metadata has
   fully propagated. The `GlobalStreamThread` then calls `partitionsFor()`
   during initialization and fails fast when the broker returns an empty
   partition list:
   wait in @BeforeEach until describeTopics reports the expected partition
   count for the global store source topic before starting Kafka Streams.
   
   Reviewers : @muralibasani @mjsax 


-- 
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-20587: Wait for global store topic partitions in test setup [kafka]

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

   Thanks @smjn for the review.


-- 
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-20587: Wait for global store topic partitions in test setup [kafka]

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

   @muralibasani @mjsax  gentle ping for review.


-- 
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-20587: Wait for global store topic partitions in test setup [kafka]

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

   @nileshkumar3 thanks for the pr and sorry for the delay. 
   As it's a flaky test, and fix seems to be good, can you also pls loop the test 50x or 100x ? 


-- 
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-20587: Wait for global store topic partitions in test setup [kafka]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #22325:
URL: https://github.com/apache/kafka/pull/22325#issuecomment-4551334606

   A label of 'needs-attention' was automatically added to this PR in order to raise the
   attention of the committers. Once this issue has been triaged, the `triage` label
   should be removed to prevent this automation from happening again.


-- 
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-20587: Wait for global store topic partitions in test setup [kafka]

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

   @smjn Can this be merged.


-- 
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-20587: Wait for global store topic partitions in test setup [kafka]

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

   @muralibasani  Could you please review this when you get a chance.


-- 
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-20587: Wait for global store topic partitions in test setup [kafka]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #22325:
URL: https://github.com/apache/kafka/pull/22325#issuecomment-4677216536

   A label of 'needs-attention' was automatically added to this PR in order to raise the
   attention of the committers. Once this issue has been triaged, the `triage` label
   should be removed to prevent this automation from happening again.


-- 
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