Skip to main content
SumitraMenon
Silver ⭐️
Silver ⭐️
Dec 10, 2019 11:55 AM UTC

Support Video: How to move Kafka Partition log directory within a Broker Node?

  • Oct 5, 2026 8:58 AM UTC
  • 0 replies
  • 1768 views
  • Translate All

At times, Kafka Brokers can find one of its log directory utilization at 100% and the broker process would fail to start.

 

This article provides the instructions to manually move partition data between different log directories within a Kafka Broker.

 

The Kafka brokers maintain two offset checkpoint files inside each log directory:

  1. replication-offset-checkpoint
  2. recovery-point-offset-checkpoint

And both these files have the following format:

(a) 1st line: Version Number
(b) 2nd line: Number of topic-partition entries in the file
(c) All the remaining lines: Replication Offset/Recovery Point Offset, for every partition data maintained within the current log directory.