Best way to migrate Kafka cluster -


i have kafka cluster of 2 nodes. kafka version 0.8.1.
need migrate different set of servers.

whats best way migrate maintaining no downtime , no data loss?

assuming new servers , old servers live in same data center, easiest way add new ones replicas existing partitions have. kafka bring them in sync making them isrs. 1 in-sync should able safely shutdown old nodes.

this of course depends on how consumers configured (will automatically find new nodes?) , version of kafka you're on.

take at:

you need use kafka-reassign-partitions.sh tool make happen. test in non-production environment first.


Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -