Files
tougao/application/extra/rabbitmq.php

32 lines
841 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
return [
'host' => '127.0.0.1',
'port' => 5672,
'user' => 'guest',//admin
'password' => 'guest',//'751019'
'vhost' => '/',
'reference_check' => [
'exchange' => 'reference_check',
'queue' => 'ref_check.article',
'dlq' => 'ref_check.article.dlq',
'route_key' => 'article.start',
],
'ai_writing_risk' => [
'exchange' => 'ai_writing_risk',
'queue' => 'ai_writing_risk.task',
'dlq' => 'ai_writing_risk.task.dlq',
'route_key' => 'task.start',
],
// 作者按审稿意见修改检测串行消费prefetch=1失败 ack 不重试
'revision_comment' => [
'exchange' => 'revision_comment',
'queue' => 'revision_comment.task',
'dlq' => 'revision_comment.task.dlq',
'route_key' => 'check.start',
],
];