Skip to content

Instantly share code, notes, and snippets.

@jacoelho
Created July 11, 2016 13:33
Show Gist options
  • Select an option

  • Save jacoelho/585f10c00bdcf7459140377158d0b446 to your computer and use it in GitHub Desktop.

Select an option

Save jacoelho/585f10c00bdcf7459140377158d0b446 to your computer and use it in GitHub Desktop.
kafka change partition number
bin/kafka-topics.sh \
--zookeeper $ZK \
--alter \
--topic <name> \
--partitions <partitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment