nats.java
nats.java copied to clipboard
Java client for NATS
in go, on reconnect, a subscription with a limit is followed up by unsubscribe(max-received) This can cause unnecessary traffic and unnecessarily dropped messages in queue subscribers. https://github.com/nats-io/nats.java/blob/7f7fe824422b6966c8147bc5f028f228be4ed6ad/src/main/java/io/nats/client/impl/NatsDispatcher.java#L163-L170 in Go: https://github.com/nats-io/nats.go/blob/93a68d7e795f11c0aa30cfa38cf9a4702ae8d8b7/nats.go#L3591...
[Idea|Proposal] So currently, nats uses the net package to create a TCP connection to the (NATS) server. The current implementation basically takes the first IP from the domain name and...
"Reconnect Behavior: The go client counts reconnect attempts per server it knows about. Say the client knows about 3 servers and max reconnect attempts is 2. The client will attempt...
https://github.com/nats-io/nats-architecture-and-design/issues/23
TBD