Updated on 2024-10-09 GMT+08:00

Adding Kafka Topic Partitions

Scenario

You can add Kafka topic partitions on the Kafka UI.

  • In security mode, the user who migrates a partition must belong to the kafkaadmin user group. Otherwise, the operation fails due to authentication failure.
  • In non-security mode, Kafka UI does not authenticate any operation.

Adding a Partition

  1. Access the Kafka UI.

    1. Log in to FusionInsight Manager as a user who has the permission to access the Kafka UI and choose Cluster > Services > Kafka.

      If you need to perform related operations on the page, for example, creating a topic, you need to grant related permissions to the user. For details, see Kafka User Permissions.

    2. On the right of KafkaManager WebUI, click the URL to access Kafka UI.

  2. Click Topics. The topic management page is displayed.
  3. In the Operation column of the item to be modified, choose Action > Alter. On the displayed page, modify the topic partition.

    Currently, you can only add partitions to a cluster. That is, the number of partitions after modification must be greater than the number of original partitions.

  4. Click OK.