Giter VIP home page Giter VIP logo

Comments (5)

kciesielski avatar kciesielski commented on May 26, 2024

That was my idea a while ago, but unfortunately postStop() also gets called on actor restart and the problem is that after a KafkaActorPublisher gets restarted, it is impossible to revive its inner consumer. However, I'm also quite bothered by the way that we need to handle shutdowns with current API (the way you mentioned or by DeathWatch). Let's keep this issue open and look for some solution.

from alpakka-kafka.

juanjovazquez avatar juanjovazquez commented on May 26, 2024

We'll keep working on this. By the way, I hadn't thought in dead watching for this and maybe could work better than cancelling in our case. Thanks for that!.

from alpakka-kafka.

algermissen avatar algermissen commented on May 26, 2024

Hi,

are there any new approaches towards gracefully shutting down the publisher?

Jan

from alpakka-kafka.

kciesielski avatar kciesielski commented on May 26, 2024

@algermissen 0.8.3 uses onErrorThenStop(ex), so in case of exception the publisher will be automatically closed. I'm working on the README to explain this, I guess this issue can be closed.

from alpakka-kafka.

juanjovazquez avatar juanjovazquez commented on May 26, 2024

Thanks @kciesielski, I'll check this out. Closing the ticket.

from alpakka-kafka.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.