-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kgo: purge missing-from-meta topics while regex consuming
While regex consuming, if a topic is deleted, we previously would forever continue to try fetching it. Now, if a topic is missing from a metadata response, we internally purge it. We delete immediately with the assumption that once a topic is discovered, there is enough broker consensus that it will not be somehow accidentally missing on the next metadata update -- i.e., if a topic is missing, it's definitely deleted. We only do this for regex consuming; for non-regex, the assumption is that if you specify topics to consume, you want them. If they are missing in a metadata response, we will continue to try to update the metadata even if the topic was deleted (and we will continue trying to fetch). Closes #434
- Loading branch information
Showing
5 changed files
with
118 additions
and
9 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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