Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delay deletion of KAC #693

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

jzakaryan
Copy link
Collaborator

@jzakaryan jzakaryan commented Mar 11, 2020

When a datastream is deleted and its destination topic needs to be discarded, delay the deletion of the topic for an hour. This will allow all running instances to finish pumping messages to the topic. For now, this is all handled in memory, which means that if the leader coordinator is down before the KAC is deleted, the topic will remain alive. A possible integration with the Kafka GC or a simple ZK-backed GC for Brooklin is under consideration.

Jhora Zakaryan and others added 6 commits March 11, 2020 10:15
…de immediately but is scheduled for deletion later
…de immediately but is scheduled for deletion later

Minor fixes to make the build pass

Fixed tests for the coordinator

Reverted an unneeded change in the test file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant