<?php
return [
    'driver' => 'rabbitmq',
    'host' => env('mq.queue_rabbitmq_host', 'localhost'),
    'port' => env('mq.queue_rabbitmq_port', 5672),
    'username' => env('mq.queue_rabbitmq_username', 'guest'),
    'password' => env('mq.queue_rabbitmq_password', 'guest'),
    'vhost' => env('mq.queue_rabbitmq_vhost', '/'),
    'consumer' => [
        'batch_size' => 2, // 每次消费的消息数量
        'timeout' => 0, // 长轮询超时时间，0表示无超时
    ],
];