What are the new developments in the NATS messaging technology?
The NATS server implementation has gone through several iterations within the past couple of years. In this book, we have used the latest version that is available at the time of writing, which is NATS 2.2. We have not covered all the features of NATS within this book since a separate book would be required to do that. One major change NATS has made with the version 2.2 release is the introduction of JetStream as the successor of the NATS streaming feature. We'll discuss the JetStream feature of NATS in detail in the following section.
JetStream
Throughout this book, we have discussed how to utilize an event-based messaging approach for interservice communication within a microservice-based application design. We used NATS as the event hub that exchanges events (messages) across services. A sequence of events that adhere to a common schema (format) is called an event stream. Unlike processing a single event...