Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Example json file (This is optional. This can be specified to move the leader to the preferred replica for specific topic partitions)

Code Block
<--Example-->{ 
 "partitions":
  [
    {"topic": "topic1", "partition": "0"},
    {"topic": "topic1", "partition": "1"},
    {"topic": "topic1", "partition": "2"},
   
    {"topic": "topic2", "partition": "0"},
    {"topic": "topic2", "partition": "1"},
  ]
}

FAQ

What happens if the preferred replica is not in the ISR?

...