Hi there,
Can't find Java API to do partition reassignment, so i took a look at the
source code (not a deep look). It seems that the
kafka-reassign-partitions.sh script created the znode
/admin/reassign_partitions with the new plan (in JSON) as the data.
I wonder if I could post data to zookeeper in that path directly as a way
to programmatically trigger partition reassignment.

Thanks,
Kerry

Reply via email to