codelint/qcloud-cmq

Tencent cloud cmq queue driver for laravel

dev-master 2022-07-13 09:26 UTC

This package is auto-updated.

Last update: 2024-11-13 14:56:19 UTC


README

Tencent cloud cmq queue driver for laravel

conf/queue.php :

return [
    'connections' => [
        'sync' => [
            'driver' => 'sync',
        ],
        'cmq' => [
            'driver' => 'cmq',
            'key' => env('CMQ_KEY', ''),
            'secret' => env('CMQ_SECRET', ''),
            'endpoint' => env('CMQ_PREFIX', 'https://cmq-gz.public.tencenttdmq.com'),
            'queue' => 'stocker',
            'fail_queue' => '',
            'policy' => 0,
            'max' => 1000,
        ],
    ]
];