Skip to content

Commit 62f13fe

Browse files
committed
[fix] fixed passing of subscription queue name to the NATS server (#3)
1 parent 1ec1af9 commit 62f13fe

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## 0.5.0 (2018-XX-XX)
44

5+
- Fixed passing of subscription queue name to the NATS server, #3
6+
57
## 0.4.0 (2018-09-24)
68

79
- Use `BytesIO` as read buffer

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
version: '3.6'
1+
version: "3.6"
22

33
services:
44
nats:
5-
image: nats:1.2.0
5+
image: nats:2.0.4
66
ports:
77
- 4222:4222

pynats/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def subscribe(
166166
sub = NATSSubscription(
167167
sid=self._ssid,
168168
subject=subject,
169-
queue="",
169+
queue=queue,
170170
callback=callback,
171171
max_messages=max_messages,
172172
)

0 commit comments

Comments
 (0)