-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
subscription problem #503
Comments
This is not simple, because we need to store topic and options for subscription.. |
topic and subscription options has already stored in server。 Line 29 in 95b8147
|
Reconnect happens inside broker client in broker implementstion. So for
nats you dont need anything,after client reconnect it resubscribes. But for
stan you need to subscribe again inside broker implementation.
сб, 8 июн. 2019 г., 18:07 fztcjjl <[email protected]>:
… subsription options has already stored in server。
eg.
https://github.com/micro/go-micro/blob/95b8147fa12f0ac6b1df644a1a864325c86a015d/server/rpc_server.go#L29
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#503?email_source=notifications&email_token=AADVQG3G3ESCSU44OOAHJVTPZPDKHA5CNFSM4HWDJG32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXHWL3I#issuecomment-500131309>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADVQG2LZ6U4KZTWON4D2Y3PZPDKHANCNFSM4HWDJG3Q>
.
|
i think that we need to fix this in stan broker in nats-io/stan.go repo (as devs says in slack nats already resubscribe after reconnect) |
i'm create issue to stan.go nats-io/stan.go#273 |
Marking this as a non-fix for now. The complexity of managing reconnection and resubscription is quite tough, especially across pluggable tooling. |
i think before closing this issue we need to document current behavior and add some stuff to development repo as issue? |
Closing this is fine. Add to development repo if needed. But otherwise it's fairly complex and difficult to implement across all brokers. |
When the service is disconnected from the messaging system, the subscription needs to be resubscribed after reconnection. So there should be provide a way to resubscribe topic.
The text was updated successfully, but these errors were encountered: