Readhub - 技术资讯 ( ) • 2021-07-25 19:45
The previous entry, JetStream Stream Creation with the NATS.IO Java Library in this series showed US how to create a stream ... Once a subject is established, you could publish a regular NatsMessage to that subject, but there are benefits to publishing via the JetStream API instead of the regular message API ... When you publish to JetStream, you are required to supply the subject but are not required to supply the stream name as the client will figure it out for you, which is not necessary in regular use cases. ... 阅读全文