pynsq
pynsq copied to clipboard
The official Python client library for NSQ
### Versions - nsqd v1.2.1 (built w/go1.16.7) - Python 3.9.7 - pynsq 0.9.0 - tornado 6.1 ### Issue Reader constantly loses connection with nsqd on large payloads when running on...
``` import nsq import tornado reader = nsq.Reader( lookupd_http_addresses=["localhost:4161"], topic="topic", channel="channel", message_handler=lambda msg: None, lookupd_poll_interval=5, lookupd_poll_jitter=1.0, ) ioloop = tornado.ioloop.IOLoop.current() # Very quick, but this needs to run after reader._run...
@mreiferson any way we can get a release of 0.9.1 now that https://github.com/nsqio/pynsq/pull/254 has been merged? i.e. `can we haz plz` 
make Reader.close() prevent nsqd_tcp_addresses from reconnecting Writer.close() also closes conns and stops from reconnecting Client.close() stops the periodic _check_last_recv_timestamps() fixes #196
``` ERROR:tornado.application:Exception in callback functools.partial() Traceback (most recent call last): File "/Users/c/.pyenv/versions/script/lib/python3.7/site-packages/tornado/ioloop.py", line 605, in _run_callback ret = callback() File "/Users/c/.pyenv/versions/script/lib/python3.7/site-packages/tornado/stack_context.py", line 277, in null_wrapper return fn(*args, **kwargs) File "/Users/c/.pyenv/versions/script/lib/python3.7/site-packages/tornado/iostream.py",...
`nsq.async.AsyncConn._on_connect()` still sends `short_id` and `long_id` fields.
I'd like the documentation to explain what the differences between the synchronous and the async reader examples is. The might be obvious to those who developed pynsq, but aren't necessarily...
This is a follow up to #134 and changes the default behaviour of `Reader.give_up()` to be less surprising by writing messages that are "given up on" to disk instead of...
I found in TCP protocol spec message CLS but in pynsq there is no method for this message. ### CLS Cleanly close your connection (no more messages are sent) ```...