brainlag / JavaNSQClient

Fast Java client for NSQ
MIT License
90 stars 57 forks source link

add some logs when lookup fails #29

Closed garnaud closed 7 years ago

garnaud commented 8 years ago

When client tries to connect to a topic that doesn't exist, this message is logged:

WARN Unable to connect to any NSQ Lookup servers, servers tried: [http://xxxx:4161]

It's difficult to identified if the problem is the nsqlookup configuration or if it's only a topic that doesn't exist yet.

So this pull request adds the topic in log message:

WARN Unable to connect to any NSQ Lookup servers, servers tried: [http://xxxxx:4161] on topic: my_funny_topic