Max Ack Pending per Subject? #5211
-
I have a consumer that listens to a stream on subjects Each node sends messages to the subject with its node id. So node id I would like to set max ack pending for each node’s messages to 1 so I can process the messages of each individual node in order. But I want to process nodes a,b and c’s messages in parallel to each other. Hope that makes sense. Can I do that with one consumer? Or do I need to make a different consumer for each node? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Right now it is unfortunately not possible to set |
Beta Was this translation helpful? Give feedback.
Right now it is unfortunately not possible to set
max ack pending
per subject.In your use case, you need to create consumer per node, as having max ack pending above 1 can cause out of order redeliveries on not acked messages (missed acks, network issues, etc).