Increase number of partitions in a Kafka topic from a Kafka client -


i'm new user of apache kafka , i'm still getting know internals.

in use case, need increase number of partitions of topic dynamically kafka producer client.

i found other similar questions regarding increasing partition size, utilize zookeeper configuration. kafkaproducer has kafka broker config, not zookeeper config.

is there way can increase number of partitions of topic producer side? i'm running kafka version 0.10.0.0.

as of kafka 0.10.0.1 (latest release): manav said not possible increase number of partitions producer client.

looking ahead (next releases): in upcoming version of kafka, clients able perform topic management actions, outlined in kip-4. lot of kip-4 functionality completed , available in kafka's trunk; code in trunk of today allows client create , delete topics. unfortunately, use case, increasing number of partitions still not possible yet -- in scope kip-4 (see alter topics request) not completed yet.

tl;dr: next versions of kafka allow increase number of partitions of kafka topic, functionality not yet available.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -