Repository navigation
What's Changed
Features
- feat(backup): rate-limit backups (rate_limit_records_per_sec / _bytes_per_sec)
Full Changelog: v0.26.2...v0.27.0
Release Notes
Added
- Backup rate limits:
backup.rate_limit_records_per_secandbackup.rate_limit_bytes_per_sec. Like the restore limits they are one token bucket each, shared by every partition, so they cap the backup's total rate; bytes are counted as each record's encoded size, as for restores. The limit is an average: the next fetch waits until the previous one fits the rate. A graceful shutdown interrupts the wait. These keys used to be ignored with an "unknown config key" warning, and the operator'sKafkaBackup.spec.rateLimitinghad nothing to map to (kafka-backup-operator#81).
Changed
BackupOptionsgains the public fieldsrate_limit_records_per_secandrate_limit_bytes_per_sec(defaultNone). Code that buildsBackupOptionswith a struct literal must set them or use..Default::default().
Install kafka-backup-cli 0.27.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/osodevops/kafka-backup/releases/download/v0.27.0/kafka-backup-cli-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/osodevops/kafka-backup/releases/download/v0.27.0/kafka-backup-cli-installer.ps1 | iex"Install prebuilt binaries via Homebrew
brew install osodevops/tap/kafka-backupDownload kafka-backup-cli 0.27.0
| File | Platform | Checksum |
|---|---|---|
| kafka-backup-cli-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| kafka-backup-cli-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| kafka-backup-cli-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| kafka-backup-cli-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |