public function execute(InputInterface $input, OutputInterface $output)
{
//队列名称要和守护消费者的circus的watcher同名
$balancePoint = 200;
$settings = new SettingService();
list(, , $qdeSettings) = $settings->getQDESettings();
$circusEndpointHost = array_get($qdeSettings, 'circus_endpoint_host', '127.0.0.1');
$circusEndpointPort = array_get($qdeSettings, 'circus_endpoint_port', '5555');
$rabbitMqUriHost = array_get($qdeSettings, 'rabbit_mq_host', '172.22.16.15');
$rabbitMqUriPort = array_get($qdeSettings, 'rabbit_mq_port', '15672');
$rabbitMqUsername = array_get($qdeSettings, 'rabbit_mq_user', 'guest');
$rabbitMqPassword = array_get($qdeSettings, 'rabbit_mq_pass', 'guest');
$circusEndpoint = 'tcp://'.$circusEndpointHost.
circus和rabbitMq动态扩容减容
最新推荐文章于 2024-06-25 10:39:13 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)