Giter Club home page Giter Club logo

frafka's People

Contributors

joshuac215 avatar maxthomas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

frafka's Issues

Deep offset commit resilience in Source

Summary

Instead of using auto-commit (lazy implementation for MVP) which has small potential for data loss in case of application crash, ensure that a message is not committed in the Source Kafka partition until it has been successfully Acked/Failed.

Ideally this should also robustly handle failure to Send()/Fail() (at minimum reporting an Event with sufficient information for logging or similar).

Proposed Timeline

This will be a non-trivial lift since it requires quite a few feature changes and tracking all messages through to use the offset watermark effectively.

Proposed Solutions

For handling timeout / loss in kafka, (e.g. not committing the offset until we guarantee all messages before it have been fully handled) it looks like we would disable automatic commit store, manually track which messages were successfully handled, and then use one of the Commit() methods to manually commit. This is likely a post-MVP feature if we are going to maintain significant use of Kafka for a while. Should be thoughtful to leave sufficient hooks for this in the Receive() and Ack() methods.

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.