Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Help Center/ Data Lake Insight/ FAQs/ Flink Jobs/ Flink SQL/ How Do I Change the Number of Kafka Partitions of a Flink SQL Job Without Stopping It?

How Do I Change the Number of Kafka Partitions of a Flink SQL Job Without Stopping It?

Updated on 2022-09-20 GMT+08:00
  • Symptom

    You used Flink 1.10 to run a Flink Opensource SQL job. You set the number of Kafka partitions for the job a small value at the beginning and need to increase the number now.

  • Solution

    Add the following parameters to the SQL statement:

    connector.properties.flink.partition-discovery.interval-millis="3000" 

    This statement allows you to increase or decrease the number of Kafka partitions without stopping the Flink job.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback