Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

1. Controlled Shutdown

What is controlled shutdown?

...

Code Block
bin/kafka-add-partitions.sh

Option                                  Description                            
------                                  -----------                            
--partition <Integer: # of partitions>  REQUIRED: Number of partitions to add  
                                          to the topic                         

--replica-assignment-list               For manually assigning replicas to     
  <broker_id_for_part1_replica1 :         brokers for the new partitions       
  broker_id_for_part1_replica2,           (default: )                          
  broker_id_for_part2_replica1 :                                               
  broker_id_for_part2_replica2, ...>                                           
  broker_id_for_part2_replica1 :
  broker_id_for_part2_replica2, ...>
--topic <topic>                         REQUIRED: The topic for which          
                                          partitions need to be added.         
--zookeeper <urls>                      REQUIRED: The connection string for    
                                          the zookeeper connection in the form 
                                          host:port. Multiple URLS can be      
                                          given to allow fail-over.