zalando / nakadi

A distributed event bus that implements a RESTful API abstraction on top of Kafka-like queues
https://nakadi.io
MIT License
952 stars 292 forks source link

Fix retry in `listPartitionNames` #1538

Closed a1exsh closed 1 year ago

a1exsh commented 1 year ago

When a topic is just created, describing it immediately may fail with UnknownTopicOrPartitionException (wrapped in an ExecutionException due to use of futures).

adyach commented 1 year ago

it looks fine, maybe we should check if some parts of the code relay on the order which is provided by producer partitions method, because that can be changed with admin client approach.

adyach commented 1 year ago

👍

a1exsh commented 1 year ago

:+1: