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

Temporary topics support #73

Open
markpapadakis opened this issue Nov 13, 2019 · 0 comments
Open

Temporary topics support #73

markpapadakis opened this issue Nov 13, 2019 · 0 comments

Comments

@markpapadakis
Copy link
Member

There may be situations that call for some kind of ad-hoc analysis, where it makes a lot of sense to produce events into a TANK topic, so that you can then later process them, and when you are done, delete the topic and release whatever resources were associated with it.

You can always create new topics, and because of TANK2's lazy initialisation of partitions and RO segments(and because TANK will auto-close a partition that hasn't been accessed for sometime), this won't have any real overhead.

However, a better way is to support transient/temporary topics. Topics that are created and designated as temporary, and such topics can be easily created and deleted. The reason for having that designation is that transient topics will be delete-able, whereas regular topics won't be, and that is because it's very unsafe to allow for deletion of regular topics.

This requires further discussion.

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

No branches or pull requests

1 participant