Skip to content

Commit 738d12e

Browse files
committed
[Lock] Mention the CSV DSN in ZookeeperStore
1 parent 4b65fd0 commit 738d12e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lock.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ this behavior by using the ``lock`` key like:
5555
lock: ['redis://r1.docker', 'redis://r2.docker']
5656
lock: 'zookeeper://z1.docker'
5757
lock: 'zookeeper://z1.docker,z2.docker'
58+
lock: 'zookeeper://localhost01,localhost02:2181'
5859
lock: 'sqlite:///%kernel.project_dir%/var/lock.db'
5960
lock: 'mysql:host=127.0.0.1;dbname=app'
6061
lock: 'pgsql:host=127.0.0.1;dbname=app'
@@ -102,6 +103,8 @@ this behavior by using the ``lock`` key like:
102103
103104
<framework:resource>zookeeper://z1.docker,z2.docker</framework:resource>
104105
106+
<framework:resource>zookeeper://localhost01,localhost02:2181</framework:resource>
107+
105108
<framework:resource>sqlite:///%kernel.project_dir%/var/lock.db</framework:resource>
106109
107110
<framework:resource>mysql:host=127.0.0.1;dbname=app</framework:resource>
@@ -142,6 +145,7 @@ this behavior by using the ``lock`` key like:
142145
->resource('default', ['redis://r1.docker', 'redis://r2.docker'])
143146
->resource('default', ['zookeeper://z1.docker'])
144147
->resource('default', ['zookeeper://z1.docker,z2.docker'])
148+
->resource('default', ['zookeeper://localhost01,localhost02:2181'])
145149
->resource('default', ['sqlite:///%kernel.project_dir%/var/lock.db'])
146150
->resource('default', ['mysql:host=127.0.0.1;dbname=app'])
147151
->resource('default', ['pgsql:host=127.0.0.1;dbname=app'])
@@ -157,6 +161,11 @@ this behavior by using the ``lock`` key like:
157161
;
158162
};
159163
164+
.. versionadded:: 6.1
165+
166+
The CSV support (e.g. ``zookeeper://localhost01,localhost02:2181``) in
167+
ZookeeperStore DSN was introduced in Symfony 6.1.
168+
160169
Locking a Resource
161170
------------------
162171

0 commit comments

Comments
 (0)