nats-io / nats-architecture-and-design

Architecture and Design Docs
Apache License 2.0
170 stars 20 forks source link

Add connection spec draft #247

Closed Jarema closed 5 months ago

Jarema commented 6 months ago

This PR uses the more holistic approach to describe NATS features and server-client interactions.

It is not complete description for Connection, rather a work in progress, focused on tls_first, as this needed spec.

Signed-off-by: Tomasz Pietrek tomasz@nats.io

Jarema commented 6 months ago

@kozlovic addressed / responded to all comments.

Thanks for a thorough review!

Kazmirchuk commented 4 months ago

wow ADR-40 is a really valuable addition! if I may chip in with 5c : it would be nice to describe how NATS "Core" requests and higher-level functions like JS Fetch, Consume, KV Get and Watch etc behave in case of:

I managed to find out some of this info from nats.go unit tests, but not everything... so ended up writing my own summary :D