Sounds like what could help in your organization is using a higher-level abstraction, such as Lagom.

You don't need to be comfortable with actors to use it and it does provide a wrapper around reactive-kafka (or akka-stream-kafka as it's currently known) with exponential backoff restarts:

https://www.lagomframework.com/documentation/1.3.x/java/KafkaClient.html

If you decide to explore that route, there's a lagom framework mailing list: [email protected]

Cheers,
MichaƂ

On 08/05/17 20:56, Richard Rodseth wrote:
I was hoping to promote a pattern in my organization, using reactive-kafka (source-per-partition). Some of my colleagues are comfortable with actors, but it would be great if others could be introduced to the streams APIs without learning all about actors.

Am I correct that there is currently no way to restart a stream with exponential backoff, other than running the stream in a "host" actor that runs the stream and is fed stream elements using alsoTo ?

Backoff supervision is one of the items mentioned here:
https://github.com/akka/akka/issues/19950

Anyone else come up with a creative solution?




--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

--
Signature
<http://www.openbet.com/>         Michal Borowiecki
Senior Software Engineer L4
        T:      +44 208 742 1600

        
        +44 203 249 8448

        
        
        E:      [email protected]
        W:      www.openbet.com <http://www.openbet.com/>

        
        OpenBet Ltd

        Chiswick Park Building 9

        566 Chiswick High Rd

        London

        W4 5XT

        UK

        
<https://www.openbet.com/email_promo>

This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the [email protected] <mailto:[email protected]> and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by OpenBet for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. OpenBet Ltd. Registered Office: Chiswick Park Building 9, 566 Chiswick High Road, London, W4 5XT, United Kingdom. A company registered in England and Wales. Registered no. 3134634. VAT no. GB927523612

--
     Read the docs: http://akka.io/docs/
     Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
     Search the archives: https://groups.google.com/group/akka-user
--- You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to