Giter VIP home page Giter VIP logo

Comments (8)

ryancrawcour avatar ryancrawcour commented on July 3, 2024

@jeffhollan So the default behavior would be to checkpoint as if the batch had completed even if there was a failure in the middle of the batch?

Is this because checkpointing after every message is expensive?

from azure-functions-kafka-extension.

ryancrawcour avatar ryancrawcour commented on July 3, 2024

@jeffhollan what happens if the batch fails even after the retries, do we have some concept of a dead-letter? worried about “losing data” here if we just discard the batch

from azure-functions-kafka-extension.

jeffhollan avatar jeffhollan commented on July 3, 2024

May help to see how we do in event hubs today. Deadlettering isn’t really a feature of event streams by design. My thinking here is we’d at least have a basic retry policy (e.g. 5xs) and just make sure we pass in the retry count to the active execution. I think we’d have to leave up to user to decide what they want to do if they hit an exception on the 5th time. A bit hesitant to automatically “deadletter” in another stream - at least for the initial version

https://hackernoon.com/reliable-event-processing-in-azure-functions-37054dc2d0fc

from azure-functions-kafka-extension.

kennetham avatar kennetham commented on July 3, 2024

Dead letter queue and circuit breaker pattern should be the 2 patterns we should look at to ensure we have a high scalability stream processing, isn't it?

from azure-functions-kafka-extension.

jeffhollan avatar jeffhollan commented on July 3, 2024

I don't think we'll pull off circuit breaker at the host level alone as it requires some coordination at the site level which the instance code wouldn't have. As mentioned above I'm a bit hesistant to automatically deadletter, but potentially an optional setting where you can specify a deadletter Kafka stream in your config somewhere and it will deadletter to that for you? But definitely not a must have. In fact this entire issue should be noted as a "should have" or even "nice to have," so ideally we don't spend too many cycles coding for it until other pieces that are more critical are completed.

from azure-functions-kafka-extension.

ryancrawcour avatar ryancrawcour commented on July 3, 2024

Marked as P1 and changed title to "should have" to reflect lower urgency.

from azure-functions-kafka-extension.

ryancrawcour avatar ryancrawcour commented on July 3, 2024

Opened new issue as P2 for "nice to have" to deal with dead lettering

from azure-functions-kafka-extension.

TsuyoshiUshio avatar TsuyoshiUshio commented on July 3, 2024

Close this issue, since we have
#122
Please discuss on it! :)

from azure-functions-kafka-extension.

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.