When an error/reconnection occurs, any existing consumers will be replaced with new ones.
If the application is holding a reference to the old tag (e.g. so it can unsubscribe later), its consumer will be replaced with a new one, and has no way of knowing what the new tag is. This is a problem if the consumer wants to unsubscribe after the reconnection event.
When an error/reconnection occurs, any existing consumers will be replaced with new ones.
If the application is holding a reference to the old tag (e.g. so it can unsubscribe later), its consumer will be replaced with a new one, and has no way of knowing what the new tag is. This is a problem if the consumer wants to unsubscribe after the reconnection event.
I'll submit a PR in a few minutes.