[
https://issues.apache.org/jira/browse/AMQ-7343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dominic Gagne updated AMQ-7343:
-------------------------------
Summary: Delayed Consumption of Messages With nio+ssl Transport (was:
Delayed Consumption of Messages)
> Delayed Consumption of Messages With nio+ssl Transport
> ------------------------------------------------------
>
> Key: AMQ-7343
> URL: https://issues.apache.org/jira/browse/AMQ-7343
> Project: ActiveMQ
> Issue Type: Bug
> Components: Broker
> Affects Versions: 5.15.9, 5.15.10
> Environment: ActiveMQ version: 5.15.10 or 5.15.9
> ActiveMQ configuration: default
> Client: C# running in Docker container
> Transport: nio+ssl
>
>
> Reporter: Dominic Gagne
> Priority: Critical
> Attachments: ActiveMqTest_Consumption.zip
>
>
> We recently encountered an issue where a significant delay (often up to 15
> seconds) occurs between the time a message is acknowledged by a consumer and
> the time the next message is received from the broker. This issue only
> manifests itself until fairly specific conditions, but we do have a
> reproducible case. The problem occurs when the broker transport `nio+ssl` is
> used and clients are running in Docker containers. ActiveMQ versions tested
> are 5.15.9 and 5.15.10. Default ActiveMQ broker configuration can be used
> (with the exception of the nio+ssl transport). Disabling either nio or ssl in
> the broker configuration prevents this issue from occurring.
> Using Wireshark, we analyzed all ingress and egress traffic from the Docker
> network while the consumer was running. This analysis revealed that there are
> in fact long periods of no activity on the network, despite the fact that the
> client immediately acknowledges the message and is ready to receive a new one.
> In addition to a long delay between a message being acknowledged and the next
> message being received, the initial connection to the broker takes upwards of
> 15 seconds. This is not the case if either nio or ssl is disabled (e.g.
> transport is just 'nio' or just 'ssl' works fine). We have been able to
> reproduce this on locally running brokers as well as brokers hosted on
> AmazonMQ. Enabling verbose logging on the broker has not yet yielded any
> useful information, but we are continuing our investigation.
>
> To reproduce using the attached example:
> {{docker build -f ActiveMqTest/Dockerfile-ActiveMqTest -t 'activemqtest'
> ActiveMqTest/}}
> {{docker run activemqtest}}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)