We’re using ES as both an event store and as a lightweight event bus. We’re using competing consumers to support our event bus flow. In some cases, the event consumer can perform a relatively long operation (such as a couple of external http calls that take a few seconds). We’ve bumped the MessageTimeout on those competing consumers to something ridiculously high (like a minute) just to validate what we are seeing. Even though the MessageTimeout is a large value, I’ll see the message get reprocessed after what looks to be >= 5 seconds. The situation is being handled but we’d rather not have the message get processed twice. The message is not erring in the handler…it is completing successfully. Also we are testing with only one consumer.
Is there some other timeout or situation that would impact this and cause the message to be reprocessed?