Back up Cloudera Kafka through its existing listeners
OSO Kafka Backup connects as a standard Kafka client. Use your Cloudera bootstrap servers and listener security, then store recoverable topic data outside the broker deployment.
Kafka backup for Cloudera and Hortonworks environments
Cloudera-managed Kafka exposes standard Kafka client listeners. OSO Kafka Backup uses those listeners without a Cloudera Manager plugin. It reads selected topics and writes records, topic configuration, and consumer offset metadata to independent storage.
That copy can use S3, Azure Blob, GCS, or filesystem storage. It remains available when the source brokers do not. You can restore selected topics to the original cluster or another reachable Kafka deployment.
Use the security protocol configured for your client listener. Cloudera documents TLS, SASL/PLAIN, and Kerberos client patterns in its Kafka client configuration reference. OSO maps those settings into its YAML configuration.
Connect OSO Kafka Backup to Cloudera
The first example uses a TLS-protected SASL/PLAIN listener. The second uses GSSAPI with a
keytab. GSSAPI requires an OSO binary built with the gssapi feature and is absent from the
default release binary and Docker image.
- SASL/PLAIN
- Kerberos
- Run it
mode: backup
backup_id: cloudera-prod-daily
source:
bootstrap_servers:
- kafka-1.cdp.internal:9093
- kafka-2.cdp.internal:9093
security:
security_protocol: SASL_SSL
sasl_mechanism: PLAIN
sasl_username: ${KAFKA_BACKUP_USER}
sasl_password: ${KAFKA_BACKUP_PASSWORD}
ssl_ca_location: /etc/kafka/ca.crt
topics:
include:
- orders
- payments
storage:
backend: s3
bucket: my-kafka-backups
region: us-east-1
prefix: cloudera/production
backup:
compression: zstd
include_offset_headers: true
consumer_group_snapshot: true
mode: backup
backup_id: cloudera-prod-daily
source:
bootstrap_servers:
- kafka-1.cdp.internal:9093
- kafka-2.cdp.internal:9093
security:
security_protocol: SASL_SSL
sasl_mechanism: GSSAPI
sasl_kerberos_service_name: kafka
sasl_keytab_path: /etc/kafka-backup/client.keytab
sasl_krb5_config_path: /etc/krb5.conf
ssl_ca_location: /etc/kafka/ca.crt
topics:
include:
- orders
- payments
storage:
backend: s3
bucket: my-kafka-backups
region: us-east-1
prefix: cloudera/production
backup:
compression: zstd
include_offset_headers: true
kafka-backup backup --config cloudera-backup.yaml
Keep recovery separate from the Cloudera cluster
Broker replication protects Kafka availability during ordinary node failures. It does not preserve an earlier state after a valid delete or corrupt producer write. Replication is not backup because every current replica can receive the same change.
OSO stores backup data beyond that broker failure boundary. Restore controls can select topics, remap names, and stop at a precise millisecond timestamp. Consumer offset metadata helps applications resume from the restored position.
The disaster recovery guide shows how independent storage fits cluster recovery. The security guide covers certificates, keytabs, and file permissions for production use.
Frequently asked questions
Does OSO Kafka Backup work with Cloudera Kafka?
Yes. OSO connects through standard Kafka client listeners using the bootstrap servers and security settings configured for your Cloudera cluster. It does not require a Cloudera Manager plugin.
Can it back up a legacy Hortonworks Kafka cluster?
It can connect when the cluster exposes a compatible Kafka listener and supported security mechanism. Test the configuration against your exact broker version before scheduling production backups.
Does OSO Kafka Backup support Kerberos on Cloudera?
Yes, through feature-gated GSSAPI support. Build the CLI with the gssapi feature, then provide the Kafka service name, keytab path, and krb5 configuration. The default binary and Docker image omit GSSAPI.
Where can Cloudera Kafka backups be stored?
OSO Kafka Backup supports Amazon S3 and compatible stores, Azure Blob Storage, Google Cloud Storage, and filesystem paths. Choose storage outside the broker failure boundary.
Can I restore Cloudera Kafka data to another cluster?
Yes. The target can be another reachable Kafka cluster. You can restore selected topics, remap topic names, and stop at a millisecond timestamp within the backup window.
Ready to protect your Kafka data?
Take your first backup in minutes with the open source CLI, or talk to us about Enterprise features like encryption, RBAC, and audit logging.