Pulling consumers does not support DeliverGroup #685
Replies: 2 comments 3 replies
-
thanks for bringing this up @yang-xiaodong we are missing pull consumer implementation we should implement them eventually. up to now we said we wouldn't have to expose the internals of consumer mechanics but this is a good example that we have to expose push consumers. |
Beta Was this translation helpful? Give feedback.
-
@mtmk , as @yang-xiaodong has mentioned regarding kafka's implementation of consumer groups, nats does support jetstream pull consumers with queue group, This is as designed I am assuming. If we have orders consumer, I can create 3 order consumers with same name & filter subject , and then any message to orders will be load-balanced internally by server. Thus only 1 consumer ends up getting this message. But what if I want this order message to be consumed by all 3 maybe to update local cache on 3 applications running 3 consumers on same filter subject. In kafka i can achive this by just keeping all 3 consumers in different consumer groups but subscribed on same topic. Pls could you suggest what can be done here? We dont want to use different filter subject. |
Beta Was this translation helpful? Give feedback.
-
I see that push-based consumers are not currently supported, and I was wondering if pull-based consumers support DeliverGroup for effects similar to Kafka Consumer Groups (A event sent to multiple groups, with load balancing of consumers within groups).
Beta Was this translation helpful? Give feedback.
All reactions