Upgrading from 1.0.0-compat: Just a few backwards incompatible changes:
nsq_pubsub
utilitynsqd
flags --msg-timeout
and --statsd-interval
only take duration stringsnsqd
: http /mpub
endpoint binary
param interprets "0" or "false" to mean text modeThe previous release, version "1.0.0-compat", was curiously-named to indicate an almost (but not quite) complete transition to a 1.0 api-stable release line. Confusingly, this follow-up release which completes the transition comes more than a year later. Because there have been a fair number of changes and improvements in the past year, an additional minor version bump seems appropriate.
Features:
nsqd
: add memory stats to http /stats
response (thanks @sparklxb)nsqd
, nsqlookupd
, nsqadmin
: add --log-level
option (deprecating --verbose
) (thanks @antihax)nsqd
, nsqlookupd
, nsqadmin
: logging refactor to use log levels everywherensqadmin
: X-Forwarded-User
based "admin" permission (thanks @chen-anders)nsqd
: add topic/channel filter to /stats
, use in nsqadmin
and nsq_stat
for efficiency (thanks @andyxning)nsq_to_file
: refactor/cleanupnsq_to_nsq
: support multiple --topic
flags (thanks @jlr52)nsq_tail
: support multiple --topic
flags (thanks @soar)nsqd
, nsqadmin
: update internal http client with new go http.Transport
features (keepalives, timeouts, dualstack)nsqadmin
, nsqd
, nsqlookupd
dep
(replacing gpm
) (thanks @judwhite)nsqd
: better memory usage when messages have different sizes (thanks @andyxning)nsqd
: optimize random channel selection in queueScanLoop (thanks @vearne)nsqd
: buffer and spread statsd udp sends (avoid big burst of udp, less chance of loss)nsqlookupd
: optimize for many producers (thousands) (thanks @andyxning)nsqd
: new topic can be unlocked faster after creationnsqadmin
: update JS depsBugs:
nsqadmin
: fix missing channels in topic listto_nsq
: fix divide-by-zero issue when --rate
not specified (thanks @adamweiner)nsqd
: clamp requeue timeout to range instead of dropping connection (thanks @tsholmes)nsqd
: fix race when client subscribes to ephemeral topic or channel while it is being cleaned up (reported by @slayercat)nsqd
: fix deflate level handlingnsqd
: fix channel shutdown flush racensq_to_file
: fix connection leaks when using --topic-pattern
(thanks @jxskiss)nsqlookupd
: close connection when magic read fails (thanks @yc90s)nsqd
: fix some races getting ChannelStats (thanks @daroot)nsqd
: fix e2e timings config example, add range validation (thanks @protoss-player)nsq_tail
: logging to stderr (only nsq messages to stdout)nsq_to_http
: fix http connect/request timeout flags (thanks @kamyanskiy)nsqd
: fix possible lookupd-identify-error busy-loop (reported by @andyxning)nsqadmin
: fix typo "Delfate" in connection attrs list (thanks @arussellsaw)nsqd
: fix loading metadata with messages queued on un-paused topic with multiple channels (thanks @michaelyou)nsqlookupd
: exit with error when failed to listen on ports (thanks @stephens2424)nsqadmin
: fix html escaping for large_graph url inside javascript