Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-4588

Queue Federation and large messages move slowdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.30.0
    • 2.33.0
    • Broker, Federation
    • None

    Description

      Artemis configuration:

      Artemis configured with a dual queue federation link on Artemis and requirement to support via this federation link standard messages and large messages (between 100kb and 500kb).

       

      What is happening:

      When a consumer is created, one or two large messages are consumed instantly thanks to the federation but next messages are received very slowly and arrive one by one after a delay of 30s.

      The queue federation works well with standard messages and does not have any pause between message consumption.

      The delay between each message consumed looks to be coming from the call-timeout property set on the federation upstream, when changing its value, it changes the pause/delay between large messages consumption.

       

      Reproduction

      A test case is attached and can be run by adding it into "tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/federation/FederatedQueueTest.java"

       

      Attachments

        1. federation-large-message-testcase.java
          2 kB
          Jean-Pascal Briquet

        Issue Links

          Activity

            People

              jbertram Justin Bertram
              jpbriquet Jean-Pascal Briquet
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m