Skip to content

ConfigCommand

kafka.admin.ConfigCommand is a command-line utility.

ConfigCommand can be executed using kafka-configs shell script.

processCommandWithZk

processCommandWithZk(
  zkConnectString: String,
  opts: ConfigCommandOptions): Unit

processCommandWithZk...FIXME


processCommandWithZk is used when:

  • ConfigCommand is executed with --zookeeper option (deprecated)

alterConfigWithZk

alterConfigWithZk(
  zkClient: KafkaZkClient,
  opts: ConfigCommandOptions,
  adminZkClient: AdminZkClient): Unit

alterConfigWithZk...FIXME


alterConfigWithZk is used when:

  • ConfigCommand is executed with --alter option (to alter the configuration for an entity)