Skip to content

Commit 2b74c72

Browse files
authored
Merge pull request #99 from bowphp/rename-frontend-folder
Add rabbitmq and kafka queue config
2 parents 5ea7525 + 91a4ce4 commit 2b74c72

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

config/queue.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,30 @@
2727
"queue" => "default",
2828
],
2929

30+
/**
31+
* The rabbitmq connection
32+
*/
33+
'rabbitmq' => [
34+
'queue' => 'default',
35+
'host' => app_env('RABBITMQ_HOST', '127.0.0.1'),
36+
'port' => app_env('RABBITMQ_PORT', 5672),
37+
'user' => app_env('RABBITMQ_USER', 'guest'),
38+
'password' => app_env('RABBITMQ_PASSWORD', 'guest'),
39+
'vhost' => app_env('RABBITMQ_VHOST', '/'),
40+
],
41+
42+
/**
43+
* The kafka connection
44+
*/
45+
"kafka" => [
46+
'host' => 'localhost',
47+
'port' => 9092,
48+
'topic' => 'default',
49+
'group_id' => 'bow_queue_group',
50+
'auto_offset_reset' => 'earliest',
51+
'enable_auto_commit' => 'true',
52+
],
53+
3054
/**
3155
* The sqs connexion
3256
*/

0 commit comments

Comments
 (0)