jhalterman / lyra

High availability RabbitMQ client
Apache License 2.0
263 stars 74 forks source link

Documentation on ConnectionFactory used in ConnectionOptions #67

Closed augi closed 6 years ago

augi commented 7 years ago

It would be nice to have documented how custom ConnectionFactory should be configured when passed to ConnectionOptions. Esp. we are not sure if we should call connectionFactory.setAutomaticRecoveryEnabled(true).

So the question is if Lyra handles ALL the failures (and so standard recovery should be turned off) or if Lyra provides just additional checks to the standard recovery mechanism (and so standard recovery should be turned on).

I'm asking because we encounter some strange behavior (basically recovery doesn't work) and maybe the problem is that we use Lyra and have recovery enabled on the ConnectionFactory at the same time.

Thanks!

DimaGolomozy commented 7 years ago

see #80

michaelklishin commented 6 years ago

Lyra and RabbitMQ Java client's recovery feature are mutually exclusive and must not be used together. See #82.