You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I observe a strange behavior when there is no topic in Kafka. Topic status is cached. So when it’s created there is a delay up to 120 seconds. This is because of the constant -define(UNKNOWN_TOPIC_CACHE_EXPIRE_SECONDS, 120) in brod_client module.
Is there any reason why this delay is so high? And could we make it configurable?
The text was updated successfully, but these errors were encountered:
Hi @dbegunkov
Topic re-creation was not taken into account when it was implemented.
The cache was to avoid refreshing metadata too often, also to survive temporary errors like leader unavailable errors etc.
I observe a strange behavior when there is no topic in Kafka. Topic status is cached. So when it’s created there is a delay up to 120 seconds. This is because of the constant -define(UNKNOWN_TOPIC_CACHE_EXPIRE_SECONDS, 120) in brod_client module.
Is there any reason why this delay is so high? And could we make it configurable?
The text was updated successfully, but these errors were encountered: