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