Repository navigation
test(routing): stabilise TopologyServiceIT topic id resolution - #4973
Merged
k-wall merged 1 commit intoSep 25, 2026
Merged
Conversation
Member
Author
|
failed on a blimmin 403 to central, seems to be more frequent last few days |
robobario
force-pushed
the
fix/topology-it-metadata-propagation
branch
3 times, most recently
from
September 24, 2026 23:19
ce82718 to
d291721
Compare
k-wall
approved these changes
Sep 25, 2026
k-wall
left a comment
Member
There was a problem hiding this comment.
Looks reasonable to me. Thanks @robobario
createTopics returns once the controller commits the creation, but the metadata may not have reached the broker that serves the subsequent describeTopics. That broker replies UnknownTopicOrPartition until the metadata propagates, surfacing as "This server does not host this topic-partition" and failing the test intermittently. Retry the describe via Awaitility until the broker can resolve the topic, using succeedsWithin so a transiently failed future retries rather than aborting the await. Assisted-by: Claude Opus 4.8 <[email protected]> Signed-off-by: Robert Young <[email protected]>
k-wall
force-pushed
the
fix/topology-it-metadata-propagation
branch
from
September 25, 2026 17:21
d291721 to
0d71c71
Compare
k-wall
enabled auto-merge (squash)
September 25, 2026 17:21
|
|
This was referenced Nov 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Type of change
Description
createTopics returns once the controller commits the creation, but the metadata may not have reached the broker that serves the subsequent describeTopics. That broker replies UnknownTopicOrPartition until the metadata propagates, surfacing as "This server does not host this topic-partition" and failing the test intermittently.
Retry the describe via Awaitility until the broker can resolve the topic, using succeedsWithin so a transiently failed future retries rather than aborting the await.
Note that I think it could be a good utility to add to the junit extension, the lazy propagation of new topic metadata to brokers bites us regularly so maybe it would be good if all happy-path topic creations flow through a utility method, or use a shared
waitForTopicMetadatatype method. I think we want an explicit utility type method rather than adding any specialized behaviours to the Closeable Clients so as not to diverge from the upstream apache kafka client code.Assisted-by: Claude Opus 4.8 [email protected]
Closes #4963
Checklist
The checklist is used to help Committers judge a PR's readiness for merge.
Contributors: please check off items you consider done.
@SuppressWarningsand a justifying comment).Assisted-by:trailer (see DEV_GUIDE.md).changelog/unreleased/(remember to include changes affecting the API of the test artefacts too). See DEV_GUIDE.md for the entry format.