GitXplorerGitXplorer
o

kafka-br

public
0 stars
1 forks
0 issues

Commits

List of commits on branch main.
Verified
1c225eeadab89f02f598131b48f6911b0a7f35aa

stop when offset is done for the topic

ooneslash committed a year ago
Verified
47b634f8c8cc63dab93b3316b06d06f411dbbde7

Update LICENSE

ooneslash committed a year ago
Verified
f5d2cc392b7be65bc166c808984bec2e152faf46

add simple doc

ooneslash committed a year ago
Verified
a0151c54b414fba0a7179679b6d172c2ba1df1e5

finish restore

ooneslash committed a year ago
Verified
1e2fef498d1f73b30a38e438ba6ce81742eb4e10

backup works but need to close connection when there are no events

ooneslash committed a year ago
Verified
670df8687008d30dff31a5cd79ffff289b98c87c

will continue

ooneslash committed a year ago

README

The README file for this repository.

Kafka Backup and Restore

It is a simple cli tool to backup all events in the Kafka cluster and then republish (restore) in another one.

Usage

kafkabr <command> <flags>

Commands

Command Description
backup Backup all events available into file
restore Restore from file all events

Backup Command

The backup command is used to backup messages to a file from a message broker.

Usage

Flag Shorthand Description
--topic -t Topic to backup
--output -o Output file
--broker -b Broker to connect to
--username -u Username to connect to broker
--password -p Password to connect to broker

Restore Command

The restore command is used to restore messages from a file to a message broker.

Usage

Flag Shorthand Description
--topic -t Topic to restore (the topic should be available or auto create should be enabled)
--input -i Input file
--broker -b Broker to connect to
--username -u Username to connect to broker
--password -p Password to connect to broker