Description
nats.java is the official Java client for the NATS messaging system. It gives a direct, lightweight and performance-oriented API over Core NATS and JetStream as exposed by nats-server, and keeps its API in parity with the other official clients in Rust, Go, .NET, JavaScript, Python and C, so features look the same across languages. Versioning is stable and conservative, with breaking changes kept rare. Higher-level, opinionated utilities are split into a separate set of artifacts called Orbit, which can change faster and be versioned per artifact without affecting the core. The README covers installation, basic usage, connection options and executors, JetStream, connection security, manual pull subscriptions, a service framework, subject validation, benchmarking and building from source.…
Highlights
- Core NATS and JetStream API
- API parity with other official clients
- Connection security options
- Service framework
- Higher-level utilities in Orbit
- Benchmarking tools
Ratings & Reviews
No ratings yet
Be the first to rate Nats.java.
People also visit
Nats.java FAQ
What is nats.java?
The Java client for the NATS messaging system, covering Core NATS and JetStream.
What is Orbit?
A separate set of Java artifacts with higher-level, opinionated utilities built on top of the core client.
Is the API stable?
Yes. The core client uses stable, conservative versioning and breaking changes are rare and deliberate.
Where can I find examples?
In the repository's examples directory, NATS by Example, the Java Nats Examples repo, and the Java API docs.
What are the best Nats.java alternatives?
Popular alternatives to Nats.java include Nats.rs, Nats Server and Nats.c. See all Nats.java alternatives