rabbitmq / rabbitmq-server

Open source RabbitMQ: core server and tier 1 (built-in) plugins
https://www.rabbitmq.com/
Other
12.34k stars 3.92k forks source link

Consider listing connections for all protocols in `rabbitmclt list_connections` #5646

Open Gsantomaggio opened 2 years ago

Gsantomaggio commented 2 years ago

Currently stream connections are not listed by list_connections because historically, all protocols had separate connection listing commands, and list_connections lists AMQP 0-9-1 and AMQP 1.0 connections.

ikavgo commented 2 years ago

@michaelklishin will it be ok for list_connections to call all emit_connection_info_all consequently. Or, alternatively new function that creates all the pids and then waits for all emmiters terminations? I assume in this case we parallelize a bit.

ikavgo commented 1 year ago

looks like I accidentally touched it here (with your corrections @michaelklishin) https://github.com/rabbitmq/rabbitmq-server/pull/7981/files#diff-c4e26d25ac1650af7f03f86e5af95358a9904bf3ec27b4a239738523b72d6f65