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

re evaluate handling of "maximum subscriptions exceeded" error in go client #921

Open
matthiashanel opened this issue Mar 3, 2022 · 1 comment

Comments

@matthiashanel
Copy link
Contributor

When a client subscribes and hits the connection subscriber limit, it appears that the client handles this error with a connection disconnect.
Alternatively, it could surface as subscriber error in a callback but leave the connection alive.

When the limit is lowered retro actively, (jwt or reload) the connection gets disconnected by the server. This is expected.

@wallyqs
Copy link
Member

wallyqs commented Mar 3, 2022

maybe handle same as permissions error? https://github.com/nats-io/nats.go/blob/main/nats.go#L3186

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

2 participants