You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
- Each platform provides ways of doing this eg: "Kafka consumers within the same group can process messages in parallel" are you asking how those ways work? This doesn't seem like a hard problem to solve as the server will know what messages it has sent. Can you explain what part you are struggling with?Ewan– Ewan2024-11-10 17:58:36 +00:00Commented Nov 10, 2024 at 17:58
- I'll provide an example to help clarify my query. Imagine you have a Kubernetes deployment with 5 replicas. These 5 pods connect to a single RabbitMQ stream and pull messages one by one, each at their own pace. If the offset is saved to an external database where the application both saves and reads from, how does pod X know which messages pods Z, Y, etc. have already processed? Or, if you can point me to a documentation explain something similar to my query it would be great.Klention– Klention2024-11-10 18:44:05 +00:00Commented Nov 10, 2024 at 18:44
- 1This is core functionality of all messages queues - as such it will be well documented how do this in the docs of whichever MQ you select (different MQ's may have slightly different approaches).DavidT– DavidT2024-11-10 20:08:26 +00:00Commented Nov 10, 2024 at 20:08
- yeah, I haven't used rabbitMQ streams, but the manual says they can be used in the same way as queues, and you can def do this in kafka, you just use the same consumer id. If your question is just about how to configure software X to do this then its prob off topicEwan– Ewan2024-11-10 20:12:38 +00:00Commented Nov 10, 2024 at 20:12
- RabbitMQ streams were deliberately designed so that each consumer gets a copy, not unique message. So why do you want to use a tool for thing it was deliberately designed to not support? And why don't you use a tool (RabbitMQ queues) that were designed to support this out of the box?freakish– freakish2024-11-10 20:22:49 +00:00Commented Nov 10, 2024 at 20:22
| Show 5 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you