nzw921rx commented on PR #11835:
URL: https://github.com/apache/seatunnel/pull/11835#issuecomment-5521067059
Non-blocking: waitForKafkaTopicsReady() currently checks only once and may
still be flaky. If you push another commit, consider retrying with Awaitility:
```java
await().atMost(60, SECONDS).untilAsserted(() -> {
Map<String, TopicDescription> descriptions =
adminClient.describeTopics(topics).allTopicNames().get(10,
SECONDS);
descriptions.values().stream()
.flatMap(topic -> topic.partitions().stream())
.forEach(partition ->
Assertions.assertNotNull(partition.leader()));
});
```
--
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]