Replies: 1 comment 1 reply
-
Yes, I think your best option, for confirmation of a message being processed, is to publish a message back to the original publisher. There are some examples here https://github.com/nats-io/java-nats-examples. The chain-of-command and core-reply-request-patterns maybe be the most relevant. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks,
We are impressed by NATS and decided to replace our messaging infrastructure by it for some of our services but we run into problem. I am trying to achieve request/reply approach by jetstream and reading documentation I found: exactly-once-delivery and see diferent Acknowledgemnt models. So is it possible publisher to receive acknowledge by subscriber with double acks ? If is not possible does my only option is to respond to the publisher on separate subject ? To be honest is quite complex for beginner to prepare push consumer / push subscriber or pull consumer pull subscriber so would be very convenient if NATS Java Client have separate Interface/Class/Builder whatever that makes these easier.
Beta Was this translation helpful? Give feedback.
All reactions