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

Synchronous and Asynchronous Publishing with the NATS.io Java Library

Scott Fauerbach — May 27, 2021

Synchronous and Asynchronous Publishing with the NATS Java Library

In the continuation of the series on using the NATS Java client with JetStream , there is new video that demonstrates publishing messages to a stream synchronously and asynchronously. Check out this video:

The source code discussed in the video can be found here:

PublishAsync PublishSync.java

About the Author

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


Back to Blog