Skip to content

Commit 2fd6cc2

Browse files
committed
[doc][skip ci] Update EnqueuBundle config reference
1 parent 18a3f67 commit 2fd6cc2

File tree

1 file changed

+27
-13
lines changed

1 file changed

+27
-13
lines changed

docs/bundle/config_reference.md

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,35 +14,49 @@ You can get this info by running `./bin/console config:dump-reference enqueue` c
1414
```yaml
1515
# Default configuration for extension with alias: "enqueue"
1616
enqueue:
17-
# Configuration name
18-
default:
17+
18+
# Prototype
19+
key:
20+
1921
# The transport option could accept a string DSN, an array with DSN key, or null. It accept extra options. To find out what option you can set, look at connection factory constructor docblock.
20-
transport:
21-
22-
# The broker DSN. These schemes are supported: "file", "amqp", "amqps", "db2", "ibm-db2", "mssql", "sqlsrv", "mysql", "mysql2", "pgsql", "postgres", "sqlite", "sqlite3", "null", "gearman", "beanstalk", "kafka", "rdkafka", "redis", "stomp", "sqs", "gps", "mongodb", to use these "file", "amqp", "amqps", "db2", "ibm-db2", "mssql", "sqlsrv", "mysql", "mysql2", "pgsql", "postgres", "sqlite", "sqlite3", "null", "gearman", "beanstalk", "kafka", "rdkafka", "redis", "stomp", "sqs", "gps", "mongodb" you have to install a package.
22+
transport: # Required
23+
24+
# The MQ broker DSN. These schemes are supported: "file", "amqp", "amqps", "db2", "ibm-db2", "mssql", "sqlsrv", "mysql", "mysql2", "pgsql", "postgres", "sqlite", "sqlite3", "null", "gearman", "beanstalk", "kafka", "rdkafka", "redis", "stomp", "sqs", "gps", "mongodb", "wamp", "ws", to use these "file", "amqp", "amqps", "db2", "ibm-db2", "mssql", "sqlsrv", "mysql", "mysql2", "pgsql", "postgres", "sqlite", "sqlite3", "null", "gearman", "beanstalk", "kafka", "rdkafka", "redis", "stomp", "sqs", "gps", "mongodb", "wamp", "ws" you have to install a package.
2325
dsn: ~ # Required
24-
26+
2527
# The connection factory class should implement "Interop\Queue\ConnectionFactory" interface
2628
connection_factory_class: ~
27-
29+
2830
# The factory class should implement "Enqueue\ConnectionFactoryFactoryInterface" interface
2931
factory_service: ~
30-
32+
3133
# The factory service should be a class that implements "Enqueue\ConnectionFactoryFactoryInterface" interface
3234
factory_class: ~
35+
consumption:
36+
37+
# the time in milliseconds queue consumer waits for a message (100 ms by default)
38+
receive_timeout: 10000
3339
client:
3440
traceable_producer: true
3541
prefix: enqueue
3642
app_name: app
3743
router_topic: default
3844
router_queue: default
39-
router_processor: Enqueue\Client\RouterProcessor
45+
router_processor: null
4046
default_processor_queue: default
4147
redelivered_delay_time: 0
42-
consumption:
43-
44-
# the time in milliseconds queue consumer waits for a message (100 ms by default)
45-
receive_timeout: 100
48+
49+
# The "monitoring" option could accept a string DSN, an array with DSN key, or null. It accept extra options. To find out what option you can set, look at stats storage constructor doc block.
50+
monitoring:
51+
52+
# The stats storage DSN. These schemes are supported: "wamp", "ws", "influxdb".
53+
dsn: ~ # Required
54+
55+
# The factory class should implement "Enqueue\Monitoring\StatsStorageFactory" interface
56+
storage_factory_service: ~
57+
58+
# The factory service should be a class that implements "Enqueue\Monitoring\StatsStorageFactory" interface
59+
storage_factory_class: ~
4660
async_commands:
4761
enabled: false
4862
extensions:

0 commit comments

Comments
 (0)