-
-
Notifications
You must be signed in to change notification settings - Fork 631
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
enqueue: | ||
transport: | ||
default: 'amqp' | ||
amqp: | ||
host: '%env(ENQUEUE_AMQP_HOST)%' | ||
port: '%env(ENQUEUE_AMQP_PORT)%' | ||
login: '%env(ENQUEUE_AMQP_LOGIN)%' | ||
password: '%env(ENQUEUE_AMQP_PASSWORD)%' | ||
vhost: '%env(ENQUEUE_AMQP_VHOST)%' | ||
|
||
# If you use RabbitMQ broker you can replace amqp transport with this one. It enables specific features like priorities, delays. | ||
# default: 'rabbitmq_amqp' | ||
# rabbitmq_amqp: | ||
# | ||
# host: '%env(ENQUEUE_AMQP_HOST)%' | ||
# port: '%env(ENQUEUE_AMQP_PORT)%' | ||
# login: '%env(ENQUEUE_AMQP_LOGIN)%' | ||
# password: '%env(ENQUEUE_AMQP_PASSWORD)%' | ||
# vhost: '%env(ENQUEUE_AMQP_VHOST)%' | ||
# | ||
# # The option tells whether RabbitMQ broker has delay plugin installed or not | ||
# delay_plugin_installed: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"copy-from-recipe": { | ||
"etc/": "%ETC_DIR%/" | ||
}, | ||
"env": { | ||
"ENQUEUE_AMQP_HOST": "localhost", | ||
"ENQUEUE_AMQP_PORT": "5672", | ||
"ENQUEUE_AMQP_LOGIN": "guest", | ||
"ENQUEUE_AMQP_PASSWORD": "guest", | ||
"ENQUEUE_AMQP_VHOST": "/" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
consume: | ||
@test -f bin/console && bin/console enqueue:consume --setup-broker || echo "cannot consume messages (needs symfony/console)" | ||
.PHONY: consume |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
enqueue: | ||
transport: | ||
default: 'null' | ||
'null': ~ | ||
client: | ||
traceable_producer: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"bundles": { | ||
"Enqueue\\Bundle\\EnqueueBundle": ["all"] | ||
}, | ||
"copy-from-recipe": { | ||
"etc/": "%ETC_DIR%/" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[Enqueue] Run <comment>make consume</> command to consume messages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
enqueue: | ||
transport: | ||
default: 'fs' | ||
fs: | ||
store_dir: '%env(ENQUEUE_FS_STORAGE)%' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"copy-from-recipe": { | ||
"etc/": "%ETC_DIR%/", | ||
"var/": "%VAR_DIR%" | ||
}, | ||
"env": { | ||
"ENQUEUE_FS_STORAGE": "%VAR%/queue" | ||
}, | ||
"gitignore": [ | ||
"/var/queue" | ||
] | ||
} |
Empty file.