brainlag / JavaNSQClient

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

does 1.0.0.RC2 supports nsq v0.3.7? #17

Closed kevinho closed 8 years ago

kevinho commented 8 years ago

i run testing testProduceOneMsgSnappy, producer works, but consumer doesn't work, the callback won't get any message.

brainlag commented 8 years ago

Snappy seems to have problems with small messages. https://github.com/nsqio/nsq/issues/532 If you see the same problem with many bigger messages then it might be broken.

kevinho commented 8 years ago

My fault, i made a mistake.

The default broadcast-address of nsqd is OS hostname, when the consumer get this address like "ubuntu:4151", it can not connect to the nsqd if consumer is not in the same host.

But there is no exception or error output, is there any improvement?

brainlag commented 8 years ago

There is not only a error output missing, there is actually a bug. I will fix it later today.