Re: [akka-user] Making akka.pattern.BackoffSupervisor extendable

2017-04-29 Thread Patrik Nordwall
How many lines of code would such an backoff supervisor actor be if it only did exactly the one and only thing that you want? As Johan suggests inheritance is not the best api from an Akka maintance perspective, we have strong obligations to keep binary compatibility but still be able to evolve Ak

Re: [akka-user] Making akka.pattern.BackoffSupervisor extendable

2017-04-28 Thread Akka Team
I think that would be more API surface than we'd like, but please open a ticket over at https://github.com/akka/akka/issues and we can discuss if it is worth doing there. -- Johan Akka Team On Tue, Mar 14, 2017 at 11:14 PM, Richard Ney wrote: > I was wondering if anyone has thought of making th

[akka-user] Making akka.pattern.BackoffSupervisor extendable

2017-03-14 Thread Richard Ney
I was wondering if anyone has thought of making the BackoffSupervisor extendable so the consumer can change the behavior of the child life-cycle? I had a case where I wanted to control which Props was used to create the child-actor in a Shard based on the first message. The application this was