Optionalnsqdnsqd host for the producer Writer. Defaults to '127.0.0.1'.
Optionalnsqdnsqd TCP port for the producer Writer. Defaults to 4150.
OptionalreaderReader connection options: typically { lookupdHTTPAddresses } or
{ nsqdTCPAddresses }. Passed straight to every Reader.
OptionalclientA pre-built nsqjs module (or a stand-in exposing Writer and Reader
constructors). When provided, connect() adopts it and does not
require('nsqjs') — used for injecting mocks in tests.
Connection options for
NsqStore.