From 22602b627e55a436a9b08785c4c2b49416b1dcb3 Mon Sep 17 00:00:00 2001
From: xuanhaoran All instances of your application must be stopped. Otherwise, the application may enter an invalid state, crash, or produce incorrect results. You can verify whether the consumer group with ID All instances of your application must be stopped. Otherwise, the application may enter an invalid state, crash, or produce incorrect results. You can verify whether the consumer group with ID Use this tool with care and double-check its parameters: If you provide wrong parameter values (e.g., typos in
-
application.id is still active by using bin/kafka-consumer-groups.application.id is still active by using bin/kafka-consumer-groups.
+ When long session timeout has been configured, active members could take longer to get expired on the broker thus blocking the reset job to complete. Use the --force option could remove those left-over members immediately.application.id) or specify parameters inconsistently (e.g., specify the wrong input topics for the application), this tool might invalidate the application’s state or even impact other applications, consumer groups, or your Kafka topics.Step 1: Run the application reset toolStreams API
enabling a user to provide
StateStores with alongside Processor/Transformer logic so that they are automatically
added and connected to the processor.
+ We added a --force option in StreamsResetter to force remove left-over members on broker side when long session time out was configured
+ as per KIP-571.
+
From 8df8c66ad254404b202fc4f83606030a47cbb1e7 Mon Sep 17 00:00:00 2001
From: xuanhaoran All instances of your application must be stopped. Otherwise, the application may enter an invalid state, crash, or produce incorrect results. You can verify whether the consumer group with ID
application.id is still active by using bin/kafka-consumer-groups.
- When long session timeout has been configured, active members could take longer to get expired on the broker thus blocking the reset job to complete. Use the --force option could remove those left-over members immediately.--force option could remove those left-over members immediately. Make sure to shut down all stream applications when this option is specified to avoid unexpected rebalances.
Use this tool with care and double-check its parameters: If you provide wrong parameter values (e.g., typos in application.id) or specify parameters inconsistently (e.g., specify the wrong input topics for the application), this tool might invalidate the application’s state or even impact other applications, consumer groups, or your Kafka topics.