Updated on 2024-10-08 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.
  • This section applies only to MRS 3.1.2 or later.

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 operations on the page, for example, creating a topic, you need to grant related permissions to users. For details, see Kafka User Permissions.

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

  2. Choose Topics.
  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.