[RoutineLoad] Support alter broker list and topic for kafka routine load (#6335)

```
alter routine load for cmy2 from kafka("kafka_broker_list" = "ip2:9094", "kafka_topic" = "my_topic");
```

This is useful when the kafka broker list or topic has been changed.

Also modify `show create routine load`, support showing  "kafka_partitions" and "kafka_offsets".
This commit is contained in:
Mingyu Chen
2021-08-03 11:58:38 +08:00
committed by GitHub
parent a2eb1b9d5b
commit 748604ff4f
14 changed files with 101 additions and 39 deletions

View File

@ -26,7 +26,10 @@ under the License.
# SHOW CREATE ROUTINE LOAD
## description
The statement is used to show the routine load job creation statement of user-defined
The statement is used to show the routine load job creation statement of user-defined.
The kafka partition and offset in the result show the currently consumed partition and the corresponding offset to be consumed.
grammar:
SHOW [ALL] CREATE ROUTINE LOAD for load_name;
@ -39,4 +42,4 @@ under the License.
SHOW CREATE ROUTINE LOAD for test_load
## keyword
SHOW,CREATE,ROUTINE,LOAD
SHOW,CREATE,ROUTINE,LOAD

View File

@ -72,7 +72,9 @@ Syntax:
1. `kafka_partitions`
2. `kafka_offsets`
3. Custom property, such as `property.group.id`
3. `kafka_broker_list`
4. `kafka_topic`
5. Custom property, such as `property.group.id`
Notice: