kafka-backup
Backup and Restore for Apache Kafka
File Explorer
Download Latest Version (.zip)- workflow.yml
- backup-standalone.sh
- completed_segments.py
- partition-index.sh
- restore-standalone.sh
- segment-index.sh
- segment.sh
- 2019-06_Introducing_Kafka_Backup.md
- Comparing_Kafka_Backup_Solutions.md
- FAQ.md
- Kafka_Backup_Architecture.md
- Tooling.md
- Usage.md
- gradle-wrapper.jar
- gradle-wrapper.properties
- Base64Formatter.java
- ByteFormatter.java
- DetailedRecordFormatter.java
- ListRecordFormatter.java
- RawFormatter.java
- RecordFormatter.java
- UTF8Formatter.java
- PartitionIndexCLI.java
- SegmentCLI.java
- SegmentIndexCLI.java
- EndOffsetReader.java
- OffsetSink.java
- OffsetSource.java
- OffsetUtils.java
- PartitionIndex.java
- PartitionIndexEntry.java
- PartitionIndexRestore.java
- PartitionReader.java
- PartitionUtils.java
- PartitionWriter.java
- Record.java
- RecordSerde.java
- SegmentIndex.java
- SegmentIndexEntry.java
- SegmentIndexRestore.java
- SegmentReader.java
- SegmentUtils.java
- SegmentWriter.java
- UnverifiedSegmentReader.java
- BackupConfig.java
- BackupSinkConfig.java
- BackupSinkConnector.java
- BackupSinkTask.java
- BackupSourceConfig.java
- BackupSourceConnector.java
- BackupSourceTask.java
- testIndex
- empty_record
- header_record
- null_record
- simple_record
- testIndex
- segment_partition_000_from_offset_0000000000_index
- segment_partition_000_from_offset_0000000000_records
- PartitionIndexTest.java
- PartitionSerdeTest.java
- RecordSerdeTest.java
- RecordTest.java
- SegmentIndexTest.java
- SegmentSerdeTest.java
- TestUtils.java
- BackupSinkTaskTest.java
- MockEndOffsetReader.java
- MockOffsetSink.java
- MockSinkTaskContext.java
- connect-backup-sink.properties
- connect-backup-source.properties
- test.sh
- connect-backup-sink.properties
- connect-backup-source.properties
- test.sh
- connect-backup-sink.properties
- connect-backup-source.properties
- round_trip.sh
- utils.sh
- restore-to-kafka.properties
- to-backup-kafka.properties
- zookeeper.properties
- Dockerfile
- runutil
- utils.py
- utils.sh
- .gitignore
- 01_simple_roundtrip_test.yaml
- 02_full_test.yaml
- 03_start_n_stop.yaml
- 04_delete_old_segments.yaml
- docker-compose.yml
- README.md
- .gitignore
- build.gradle
- Dockerfile
- gradlew
- gradlew.bat
- LICENSE
- README.md
- settings.gradle
# Installation Guide
1. Get the code
git clone https://github.com/itadventurer/kafka-backup
Downloads the entire project code from GitHub to your computer.
cd kafka-backup
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker run -d -v /path/to/backup-dir/:/kafka-backup/ --rm \
Runs the built image as an actual container.
docker run -v /path/to/backup/dir:/kafka-backup/ --rm \
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
Pulled directly from this repo's README.
3. Gradle (Java/Kotlin)
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java/Kotlin projects.
- Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
./gradlew build
Builds the project using Gradle.
A BUILD SUCCESSFUL message means it worked. The output is created under build/.
// repository documentation
Was this content helpful?
(0 ratings)
