Closed KarelCemus closed 8 years ago
Sorry for the inconvenience caused by the change, this should have been documented. I don't think it is the responsibility of the library to stash messages, or at least not in the way it was implemented before (not configurable, not bounded) As an alternative I suggest you use an actor to stash messages based on the connection states (https://github.com/chrisdinn/brando/blob/master/src/main/scala/Connection.scala#L16). You can either use Akka stash with a bounded mailbox or implement your own bounded queue.
Feel free to submit a PR for a migration guide.
Thanks
Thanks for the hint. I'll look at it and try to figure out the solution because I had to stay with v2. If I figure out smooth integration with the current Brando implementation I'll submit a PR.
Previous versions of brando implemented Akka Stash and queued requests when the redis was not connected. As part of #46 this behavior was silently dropped and version 3 throws an exception instead, which is significantly different behavior.
Thanks!