Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-141

Artemis enqueues much less MQTT messages than <max-size-bytes> setting permits

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • A-MQ 7.0.0.ER8
    • None
    • None

      While writing the MQTT test for ENTMQ-1762, I noticed that the number of messages that get enqueued is about half or even less of what one might expect, given the max-size-bytes setting and message size.

      I am sending messages of 1KiB in size and I am setting the max size to be capacity-times of that. So I'd expect to enqueue and then receive capacity messages, possibly a bit less. But in fact, the table looks like this:

      capacity: 4 received: 2
      capacity: 8 received: 4
      capacity: 16 received: 7
      capacity: 32 received: 13
      capacity: 64 received: 26
      capacity: 128 received: 52
      capacity: 256 received: 104
      capacity: 512 received: 207
      

      Is this correct behavior?

              mtaylor1@redhat.com Martyn Taylor (Inactive)
              jdanek@redhat.com Jiri Daněk
              Jiri Daněk Jiri Daněk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: