Upgrading
nsqd: removed support for old metadata scheme used in v0.3.8 and earlier
dep support still present for now, but deprecatedFeatures:
nsqd: add --max-channel-consumers (default unlimited) (thanks @andyxning)nsqd: add --min-output-buffer-timeout (default 25ms) to limit how low a timeout a consumer can request
--max-output-buffer-timeout to 30 seconds (lower timeout, more cpu usage)nsqd: add topic total message bytes to stats (thanks @andyxning)nsqd: add flag to adjust default --output-buffer-timeout (thanks @andyxning)nsqd: add random load balancing for authd requests (thanks @shenhui0509)nsqd: include client TLS cert CommonName in authd requestsnsq_to_file: include topic/channel in most log messagesnsq_to_file: add --log-level and --log-prefix flagsnsq_to_file: big refactor, more robust file switching and syncing and error handlingnsqd: add param to /stats endpoint to allow skipping per-client stats (much faster if many clients)nsqadmin, nsq_stat: use include_clients param for /stats for a big speedup for big clustersnsq_to_file: support for separate working directory with --work-dir (thanks @mccutchen)nsqadmin: add --base-path flag (thanks @blinklv)nsq_to_http: add --header flag (thanks @alwindoss)nsqd: add producer client tcp connections to stats (thanks @sparklxb)nsq_to_file: new flag --sync-interval (default same as previous behavior, 30 seconds) (thanks @alpaker)Bugs:
nsqd: close connections that don't send "magic" header (thanks @JoseFeng)nsqd: exit on all fatal Accept() errors - restart enables better recovery for some conditions (thanks @mdh67899)nsqd, nsqlookupd, nsqadmin: refactor LogLevel, general refactor to better exit on all fatal errorsnsqadmin: switch to using judwhite/go-svc like nsqd and nsqadmin donsqadmin: fix clients count and channel total message rate (new bugs introduced in this cycle)nsqd, nsqlookupd, nsqadmin: fix http error response unreliable json serializationnsqlookupd: fix orphaned ephemeral topics in registration DBnsqd: fix topic message mis-counting if there are backend write errors (thanks @SwanSpouse)nsqlookupd: optimize /nodes endpoint, much better for hundreds of nsqd (thanks @andyxning)GOFLAGS to BLDFLAGS in Makefile now that GOFLAGS is automatically used by gonsqadmin: eslint reported fixes/cleanups