Replies: 1 comment
-
No, Silverback does not have a built-in timeout mechanism for subscribers. However, you can easily implement one using a That said, if you are consuming each message only once using the same consumer, I strongly advise against having multiple subscribers handling the same consumed message. The main issue is that error handling and message acknowledgment cannot be performed consistently. For example, if one subscriber throws an exception, should Silverback acknowledge the message or not? This ambiguity can lead to inconsistent processing behavior. I recommend two possible approaches: 1. Centralized processing 2. Separate consumers per subscriber |
Beta Was this translation helpful? Give feedback.
-
Hi guys! I've encountered the following issue: there are several subscribers for Kafka under the same consumer group id, all reading from one topic. One of them experienced a problem with a long response time from an external service, which affected the others. Is it possible to set some kind of timeout for processing for each subscriber or consumer group id? Or would it be better not to subscribe them under the same consumer group id?
My case: reading one type of message from a single topic but with different processing logic.
Beta Was this translation helpful? Give feedback.
All reactions