kafka-fwd

command module
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2022 License: MIT Imports: 5 Imported by: 0

README

kafka-fwd

Standalone message forwarding tool for Apache Kafka. Build in Go, leverages Confluent client for Apache Kafka

Major use case behind kafka-fwd is [failed] message reprocessing.

Features
  • Forward messages from src to dest topic
    • Forward continuously
    • Support multiple routes
  • Ensure fixed delay before forwarding
    • E.g. forward if 1min 30sec elapsed since original message timestamp
  • Respect source messages
    • Don't skip, at the cost of potential duplicates and out-of-order delivery
  • Provide reasonable performance and scalability
    • Batching, consumer groups, configurability: don't stand in the way of Confluent client & libkafkard
    • Scalable delay: limit in-flight messages and pause/resume partitions as needed

Download and Install

  • Download Linux or macOS (darwin) distribution
  • Unpack and modify sample kfwd-conf.yaml to your liking
  • Run kafka-fwd
External Restart

kafka-fwd may panic and terminate if unable to guarantee a lossless delivery of forwarded messages. It is safe to restart then. Currently, kafka-fwd expects to be restarted externally, e.g. with docker restart policy.

Build from Sources

  • Clone the repo
  • Run go build with go 1.18 or later

License

MIT License

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL