NATS uses cookies to ensure you get the best experience on our website. Continuing to use this site assumes compliance with our Privacy Policy.

Hello World with the NATS.io Java Library

Scott Fauerbach — May 5, 2021

Hello World with the NATS Java Library

Recently, stream functionality was added to the NATS server in release 2.2. See our JetStream section in docs for additional information.

Check out this video where I discuss the basics of how to create a stream and then publish and consume messages using the NATS Java client .

The full source of the project can be found here: https://github.com/nats-io/java-nats-examples/tree/main/hello-world

About the Author

Scott Fauerbach is a member of the engineering team at Synadia Communications .


Back to Blog