diff --git a/nats_streaming/client-connections.md b/nats_streaming/client-connections.md index a4794ff..3d03fa6 100644 --- a/nats_streaming/client-connections.md +++ b/nats_streaming/client-connections.md @@ -4,6 +4,4 @@ As described, clients are not directly connected to the streaming server. Instea This client ID links a given connection to its published messages, subscriptions, especially durable subscriptions. Indeed, durable subscriptions are stored as a combination of the client ID and durable name. More on durable subscriptions later. -It is also used to resolve the issue of not having direct client connections to the server. For instance, say that a client crashes without closing the connection. It later restarts with the same client ID. The server will detect that this client ID is already in-use. It will try to contact that known client to its original private inbox. If the server does not receive a response - which would be the case if the client crashed - it will replace the old client with this new one. - -Otherwise, the server would reject the connection request since the client ID is already in-use. +It is also used to resolve the issue of not having direct client connections to the server. For instance, say that a client crashes without closing the connection. It later restarts with the same client ID. The server will detect that this client ID is already in-use. It will try to contact that known client to its original private inbox. If the server does not receive a response - which would be the case if the client crashed - it will replace the old client with this new one. Otherwise, the server would reject the connection request since the client ID is already in-use.