Closed pengbinbin1 closed 4 years ago
If you use ConnectToNSQLookupd()
or ConnectToNSQLookupds()
, then yes, the Consumer will reconnect. The period for checking for new or no-longer-connected nsqd is controlled by LookupdPollInterval
in the Config
@ploxiln thank you very much
will consumer reconnect to the server when the connection is closed by server? and how to set the reconnect times ?