Oh by the way, what's your consumer prefetch ? I guess it's more than 1 ?

Regards
JB

On Fri, Mar 1, 2024 at 4:52 PM Frédéric Curvat <fcur...@gmail.com> wrote:
>
> Hello !
>
> At my company we are using Apache ActiveMQ 5.18.3.
> We suspect that in some rare cases, a queue message is read twice by
> different consumers.
> For more context :
> - broker is classic primary/secondary (secondary started but not active -
> not a network of brokers).
> - we are using persisted queues with PostgreSQL backend.
> - A single queue is being read by several consumers : 10 consumers for a
> single java app deployed in HA other several k8s pods.
> - We use SESSION_TRANSACTED session for either consumers and producers.
> - We use PooledConnectionFactory with 1 connection,
> maximumActiveSessionPerConnection 500, expiryTimeout 10000
> We see no transaction or other error in logs, either service of activemq
> broker at the time of the "double read".
>
> Has something like this already been seen ? Can it be a bug or a
> misconfiguration somewhere ?
>
> Best,
>
> Fred

Reply via email to