how to create quorom queue

528 views
Skip to first unread message

Ravi C M

unread,
Dec 24, 2019, 8:52:28 AM12/24/19
to rabbitmq-users
I am attempting to create quoram queue on my cluster. I dont know how to create it. I am looking for some help.


[root@host1 user]# rabbitmqadmin -u testuser -p testpassword declare queue name=queue2 durable=true x-queue-type=quorum

ERROR: Argument "x-queue-type" is not recognised

rabbitmqadmin --help for help

[root@host1 user]#


[root@host1 user]# rabbitmqadmin --version
rabbitmqadmin 3.8.1
[root@host1 user]#
[root@host1 user]#
[root@host1 user]# rabbitmqctl version
3.8.1
[root@host1 user]#


[root@host1 user]#
[root@host1 user]# rabbitmqctl cluster_status
Cluster status of node rabbit@host1 ...
Basics

Cluster name: rabbit@host1

Disk Nodes

rabbit@host1
rabbit@host2
rabbit@host3

Running Nodes

rabbit@host1
rabbit@host2
rabbit@host3

Versions

rabbit@host1: RabbitMQ 3.8.1 on Erlang 22.1.8
rabbit@host2: RabbitMQ 3.8.1 on Erlang 22.1.8
rabbit@host3: RabbitMQ 3.8.1 on Erlang 22.1.8

Alarms

(none)

Network Partitions

(none)

Listeners

Node: rabbit@host1, interface: [::], port: 25672, protocol: clustering, purpose: inter-node and CLI tool communication
Node: rabbit@host1, interface: [::], port: 5672, protocol: amqp, purpose: AMQP 0-9-1 and AMQP 1.0
Node: rabbit@host1, interface: [::], port: 5671, protocol: amqp/ssl, purpose: AMQP 0-9-1 and AMQP 1.0 over TLS
Node: rabbit@host1, interface: [::], port: 15672, protocol: http, purpose: HTTP API
Node: rabbit@host2, interface: [::], port: 25672, protocol: clustering, purpose: inter-node and CLI tool communication
Node: rabbit@host2, interface: [::], port: 5672, protocol: amqp, purpose: AMQP 0-9-1 and AMQP 1.0
Node: rabbit@host2, interface: [::], port: 5671, protocol: amqp/ssl, purpose: AMQP 0-9-1 and AMQP 1.0 over TLS
Node: rabbit@host3, interface: [::], port: 25672, protocol: clustering, purpose: inter-node and CLI tool communication
Node: rabbit@host3, interface: [::], port: 5672, protocol: amqp, purpose: AMQP 0-9-1 and AMQP 1.0
Node: rabbit@host3, interface: [::], port: 5671, protocol: amqp/ssl, purpose: AMQP 0-9-1 and AMQP 1.0 over TLS

Feature flags

Flag: drop_unroutable_metric, state: disabled
Flag: empty_basic_get_metric, state: disabled
Flag: implicit_default_bindings, state: enabled
Flag: quorum_queue, state: enabled
Flag: virtual_host_metadata, state: enabled
[root@host1 user]#


Luke Bakken

unread,
Dec 24, 2019, 11:31:41 AM12/24/19
to rabbitmq-users
Hello,

Thanks for reporting this bug. I have filed an issue here: https://github.com/rabbitmq/rabbitmq-management/issues/761

Luke

Luke Bakken

unread,
Dec 24, 2019, 11:36:18 AM12/24/19
to rabbitmq-users
Hi Ravi,

I'm adding a queue-type argument. In the mean time, you can declare the queue as follows using the arguments parameter:

rabbitmqadmin declare queue name=queue2 durable=true arguments='{"x-queue-type": "quorum"}'

Thanks,
Luke

Ravi CM

unread,
Dec 24, 2019, 4:30:05 PM12/24/19
to rabbitm...@googlegroups.com

I think I have a code patch. I an contribute to it. Let me know if you already have a ticket for this.


--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/b63d043c-8a98-4fe4-a767-0a8bfbaf9249%40googlegroups.com.

Luke Bakken

unread,
Dec 24, 2019, 6:47:27 PM12/24/19
to rabbitmq-users
Hi Ravi,

It has already been patched and merged: https://github.com/rabbitmq/rabbitmq-management/pull/762

If you'd like to use the new version, you can download it from here:


Thanks,
Luke

On Tuesday, December 24, 2019 at 1:30:05 PM UTC-8, Ravi CM wrote:

I think I have a code patch. I an contribute to it. Let me know if you already have a ticket for this.


On Tue, Dec 24, 2019 at 11:36 AM Luke Bakken <lba...@pivotal.io> wrote:
Hi Ravi,

I'm adding a queue-type argument. In the mean time, you can declare the queue as follows using the arguments parameter:

rabbitmqadmin declare queue name=queue2 durable=true arguments='{"x-queue-type": "quorum"}'

Thanks,
Luke

On Tuesday, December 24, 2019 at 8:31:41 AM UTC-8, Luke Bakken wrote:
Hello,

Thanks for reporting this bug. I have filed an issue here: https://github.com/rabbitmq/rabbitmq-management/issues/761

Luke

On Tuesday, December 24, 2019 at 5:52:28 AM UTC-8, Ravi C M wrote:
I am attempting to create quoram queue on my cluster. I dont know how to create it. I am looking for some help.


[root@host1 user]# rabbitmqadmin -u testuser -p testpassword declare queue name=queue2 durable=true x-queue-type=quorum

ERROR: Argument "x-queue-type" is not recognised

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages