-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
nsqd: topic with suffix #ephemeral does not auto-delete when there is no channel #1447
Comments
Can you provide |
here is the nsqd logs, i've removed partial of the logs to exclude other stock symbols, please let me know if the logs is insufficient. Thanks.
|
You can see here that the last client disconnects and the topic |
Yes, my quote engine is designed to publish message to the ephemeral topic, regardless whether there is any channel connected. Most likely i have misundersood the characteristic of ephemeral topic. So in order to prevent the ephemeral topic from "appearing" i.e. storing messages when there is no channel connected, i need to set Need help and more clarifications from you @mreiferson. Thanks! |
A (new) ephemeral topic that has no channels (and thus no clients consuming), e.g. one that was created as a result of publishing a message, will not get cleaned up until a client connects (creating a channel, presumably ephemeral) and then disconnects (triggering the ephemeral channel cleanup and then the ephemeral topic cleanup). |
I think my requirement is similar to #567, thank you for the clarification @mreiferson. 👍
|
Version: 1.2.1
Based on the doc (https://nsq.io/overview/design.html)
Issue:
Topic still shown / available with any channel existed.
Expected behaviour:
A topic with suffix #ephemeral will disappeared / deleted if there are no channel.
Possible duplication: #1395 (but i am using default --mem-queue-size)
The text was updated successfully, but these errors were encountered: