[rabbitmq-discuss] slave_pids and synchronised_slave_pids not available from the HTTP api?

Matt Pietrek mpietrek at skytap.com
Mon Jan 2 19:49:28 GMT 2012

I'm crafting some custom tooling that needs to know about the sync status of
mirrored queues. Up to this point I've been successfully using the HTTP API
via the rabbitmqadmin module and been able to get everything I need .
However, I'm stymied on slave_pids and  synchronised_slave_pids, which don't
seem to come through.

Per the rabbitmqctl cmd-line help, slave_pid and synchronised_slave_pids are
valid queueinfoitems. Up to this point, queueinfoitem names have worked
equally well with "rabbitmqadmin list queues"

I've simplified the repro case down to the following; Rabbitmqctl displays
these fields as expected:

mpietrek at play:~/work/$rabbitmqctl list_queues consumers messages name
slave_pids synchronised_slave_pids
Listing queues ...
0 0 fake_munger_queue [<rabbit at play2.1.248.0>] [<rabbit at play2.1.248.0>]
0 0 fake_service_2 [<rabbit at play2.1.250.0>] [<rabbit at play2.1.250.0>]

However, rabbitmqadmin doesn't:

mpietrek at play:~/work/$rabbitmqadmin.py list queues consumers messages name
slave_pids synchronised_slave_pids
| consumers | messages |         name         | slave_pids |
synchronised_slave_pids |
| 0         | 0        | fake_munger_queue    |            |
| 0         | 0        | fake_service_2       |            |

Is this normal/expected? Am I not understanding something?

FWIW, this is using RabbitMQ 2.71 on Ubuntu 10.04.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20120102/5e6cc733/attachment.htm>

More information about the rabbitmq-discuss mailing list