Well, actually you can. You can put maxRetries into your JSON (you put it into the firehose "config" block) and it will affect this variable.

However, these parameters are just a few of the ones that the lyra library offers. I'm in the process of creating custom Jackson deserializers for the Lyra library config objects since the Lyra author doesn't seem to be too keen on adding the Jackson annotations to the config classes directly. This is proving to be a little more complicated than I had hoped so I'm still working on it.

My next pull request will be a proper integration of Lyra. In this pull request, we do make some reconnection attempts if the connection fails but if we manage to reconnect we actually don't re-bind all queues and exchanges. So there is more work that needs to be done to get the RabbitMQ reconnection working properly. As I said, I'll create a new pull request when I have that ready, including proper JSON config and reconnection logic.