[Feature] Support clearing all consumers execept specified consumer in the consumer directory #4599
Open
2 tasks done
Labels
enhancement
New feature or request
Search before asking
Motivation
Sometimes,we may want to modify the consumerId in a Flink task.However, if we do not delete other consumers that are not actually used at this time, the expired data will not be effectively cleaned up.So I want to support Support clearing all consumers execept specified consumer in the consumer directory.
Solution
I will introduce the ClearConsumersProcedure to support clearing unspecified consumers, clearing specified consumers, and clearing all consumers in a table.
Clear consumers procedure. Usage:
CALL sys.clear_consumers('tableId', 'consumerIds', true)
CALL sys.clear_consumers('tableId', 'consumerIds') or CALL sys.clear_consumers('tableId', 'consumerIds', false)
CALL sys.clear_consumers('tableId')
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: