Skip to content

Why does Consumer 1 eats Consumer 2's messages? #606

Answered by scottf
Exagram asked this question in Q&A
Discussion options

You must be logged in to vote
  1. You can share the the workload between consumers by adding them to a deliver group aka queue. Consumer configuration has this option and it should be specified during subscription creation. Yes we are currently planning on making the api easier next major version.
  2. The way we handle subjects is also being revamped, allowing for partitioning and possibly better filtering. In the meantime, my suggestion is to split your subjects into domains. So while the stream configuration subject can be STREAM.> you would likely want to split your consumers by filter. You can use STREAM.orders.> , STREAM.notify.> etc. You can also do thing like STREAM.*.fail and that consumer would handle all types of f…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@Exagram
Comment options

@Exagram
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by scottf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants