Enable and configure Kafka tiered storage for a topic

domain: kafka · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Add a RemoteStorageManager plugin JAR to the broker classpath and configure remote.log.storage.system.enable=true and remote.log.storage.manager.class.name=<your-plugin-class> in server.properties
  2. Configure the mandatory remote.log.metadata.manager.listener.name to the listener name the internal metadata manager client should use
  3. Enable tiered storage on a specific topic: kafka-configs.sh --alter --topic my-topic --add-config 'remote.storage.enable=true,local.retention.ms=3600000,retention.ms=604800000'
  4. Set local.retention.ms smaller than retention.ms so Kafka offloads segments older than local.retention.ms to remote storage while still retaining them remotely up to retention.ms
  5. Optionally cap the remote-copy bandwidth per broker via remote.log.manager.copier.bytes.per.second in broker config to avoid saturating object-store egress
  6. Verify offload progress by checking broker logs for RemoteLogManager and the remote storage metric group in JMX

Known gotchas

Related routes

Enable Kafka tiered storage for a topic and verify remote segment offload using the built-in RemoteLogMetadataManager
kafka.apache.org · 6 steps · unrated
enable redpanda tiered storage and set up a remote read replica for a topic
docs.redpanda.com · 5 steps · unrated
configure pulsar tiered storage to offload old topic segments to s3
pulsar.apache.org · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans