2. In the left sidebar, select Cluster > Queue tab, choose a Vhost, then click Create to enter the Create Queue page.
3. Enter the basic information of the queue.
Queue Name: Enter the queue name, which cannot be modified after creation and can contain 3–64 letters, digits, hyphens, and underscores.
Type: Regular queue.
Durable: Set whether the queue performs persistence.
Node: Select the node where the queue resides.
AutoDelete: After this feature is enabled, the queue will be deleted immediately after its last consumer unsubscribes from it.
Queue Remarks: Enter the queue remarks of up to 128 characters.
4. Click Next to configure common parameters.
Message TTL: Messages in the queue will be discarded/sent to the dead letter exchange after the specified time elapses.
Auto expire: The queue will be deleted if it is not used (accessed) within the specified time.
Max length: The maximum number of messages that the queue can contain.
Max length bytes: The upper limit of the queue's storage capacity. If it is reached, messages will be processed according to Overflow behaviour
.
Overflow behaviour: When the queue capacity reaches the upper limit, the message at the beginning of the queue will be discarded.
Dead Letter Exchange: A message will be delivered to the dead letter exchange if it is not acknowledged within the TTL.
5. Click Next to configure other advanced options.
Single active consumer: If this option enabled, it is necessary to ensure that there must be only one consumer consuming from the queue at a time.
Maximum priority: Configure the maximum priority of messages in this queue.
Lazy mode: If this option is enabled, the queue will preferably store pushed messages on the disk to reduce the memory usage.
Master locator: Configure the allocation method of the node where the master is located if the mirrored queue is configured.
min-masters: The node hosting the minimum number of masters will be selected as the node where the master of the current queue is located if the mirrored queue is configured.
client-local: The node the client that declares the queue is connected to will be selected as the node where the master of the current queue is located if the mirrored queue is configured.
random: A random node will be selected as the node where the master of the current queue is located if the mirrored queue is configured.
6. Click Submit.
2. In the left navigation bar, Select Cluster > Queue tab, choose a vhost, and click Create to enter the Create Queue page.
3. Enter the basic information of the queue.
Queue Name: Enter the queue name, which cannot be modified after creation and can contain 3–64 letters, digits, hyphens, and underscores.
Type: Quorum queue.
Node: Select the node where the queue resides.
Queue Remarks: Enter the queue remarks of up to 128 characters.
4. Click Next to configure common parameters.
Auto expire: The queue will be deleted if it is not used (accessed) within the specified time.
Max length: The maximum number of messages that the queue can contain.
Max length bytes: The upper limit of the queue's storage capacity. If it is reached, messages will be processed according to Overflow behaviour
.
Overflow behaviour: When the queue capacity reaches the upper limit, the message at the beginning of the queue will be discarded.
Dead letter policy: Options include at-most-once and at-least-once. The at-least-once can only be selected when the overflow behavior is set to reject-publish.
Dead letter Exchange: A message will be delivered to the dead letter exchange if it is not acknowledged within the TTL.
5. Click Next to configure other advanced options.
Single active consumer: If this option enabled, it is necessary to ensure that there must be only one consumer consuming from the queue at a time.
Max in memory length: The maximum number of messages in the quorum queue memory.
Max in memory bytes: The maximum total message size (in bytes) in the quorum queue.
Initial Cluster Size: The initial cluster size of the Quorum queue.
Leader Locator: Options include client-local and balanced. If network latency significantly affects performance, client-local policy can be selected; if you need to balance the load across nodes, balanced policy can be selected.
6. Click Submit.
Was this page helpful?