Giter Site home page Giter Site logo

flyeralarm / kafka-merge-purge Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 3.0 191 KB

Pipe data between Kafka topics with ease and choose what to do for individual records

License: Apache License 2.0

Dockerfile 0.54% Kotlin 99.46%
avro deadletter-queue docker hacktoberfest kafka kotlin schema-registry topics

kafka-merge-purge's People

Contributors

dependabot[bot] avatar domnikl avatar fabiobauer avatar michelhartmann avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

kafka-merge-purge's Issues

Retrying skipped events of a dead letter queue in a safe manner

For me it looks like it's not possible to retry skipped events of a dlq without also be "re asked" about the already merged and purged events (only if log compaction has not cleaned it up in the meantime).

When I first run the CLI tool, let's say for a dead letter queue "event-dlq", a retry topic "event-retry" and a given group id "dlq-handling-group".

I could decide for each event if i want to skip, merge or purge.

AFAIK skipping do nothing (but in commit mode it's commit the offset), merging put it to a given retry queue and purging creates a tombstone event...

Let's imagine i skipped message #1, merged #2 and purged #3.

Now some new messages appear: #4 and #5

Let's say i want now to process all not handled events of the "event-dlq" topic.

If I use same group id asking would start only with new messages, so it would start for message #4.

If I use a different group id, the tool will ask me for all messages which includes the merged and depending on log compaction maybe also the purged ones.

So, I don't see a way to reprocess a dlq topic in a way where i would:

  • re asked for skipped events
  • leaving out the purged events in a safe way (i think depending on log compaction is quite error prone)
  • being asked about new events

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.