Files
doris/docs/en/sql-reference/sql-statements/Data Manipulation/SHOW CREATE ROUTINE LOAD.md
Mingyu Chen 748604ff4f [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".
2021-08-03 11:58:38 +08:00

1.5 KiB

title, language
title language
SHOW CREATE ROUTINE LOAD en

SHOW CREATE ROUTINE LOAD

description

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;
    
Description:
   `ALL`: optional,Is for getting all jobs, including history jobs
   `load_name`: routine load name

example

1. Show the creation statement of the specified routine load under the default db
    SHOW CREATE ROUTINE LOAD for test_load

keyword

SHOW,CREATE,ROUTINE,LOAD