Replies: 3 comments 2 replies
-
I'll look into this. What version of the server? Also, please update to 1.0.7 |
Beta Was this translation helpful? Give feedback.
-
How many servers in your cluster. Publishing should reconnect right away to another server, but there is really no recovery for either publish or consume if there are no more servers that it can connect to. You will just have to have your application handle the exceptions and use the error event handlers to be aware of what's going on. |
Beta Was this translation helpful? Give feedback.
-
You can also use lame duck mode on the server to help the clients exit more gracefully, but without a cluster, there is not recovery. |
Beta Was this translation helpful? Give feedback.
-
I'm having trouble understanding how a reconnection of the publisher and consumer works in case of a server restart.
I have one publisher, one consumer, and one stream. Using the simplified API:
Stream creation:
Producing a message:
Consumer creation and consuming messages:
After a server restart I get the following error from the consumer:
And from the publisher:
And messages just stop arriving.
Consumer info:
Stream info:
I'm probobly missing something I'm just not sure what.
Additional details:
dotnet version: 6
Nets.Client version: 1.0.6
Beta Was this translation helpful? Give feedback.
All reactions