You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/bundle/config_reference.md
+27-13Lines changed: 27 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -14,35 +14,49 @@ You can get this info by running `./bin/console config:dump-reference enqueue` c
14
14
```yaml
15
15
# Default configuration for extension with alias: "enqueue"
16
16
enqueue:
17
-
# Configuration name
18
-
default:
17
+
18
+
# Prototype
19
+
key:
20
+
19
21
# 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.
23
25
dsn: ~ # Required
24
-
26
+
25
27
# The connection factory class should implement "Interop\Queue\ConnectionFactory" interface
26
28
connection_factory_class: ~
27
-
29
+
28
30
# The factory class should implement "Enqueue\ConnectionFactoryFactoryInterface" interface
29
31
factory_service: ~
30
-
32
+
31
33
# The factory service should be a class that implements "Enqueue\ConnectionFactoryFactoryInterface" interface
32
34
factory_class: ~
35
+
consumption:
36
+
37
+
# the time in milliseconds queue consumer waits for a message (100 ms by default)
38
+
receive_timeout: 10000
33
39
client:
34
40
traceable_producer: true
35
41
prefix: enqueue
36
42
app_name: app
37
43
router_topic: default
38
44
router_queue: default
39
-
router_processor: Enqueue\Client\RouterProcessor
45
+
router_processor: null
40
46
default_processor_queue: default
41
47
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
0 commit comments