调用ListStream接口获取当前实例下所有表的Stream信息。

请求消息结构

message ListStreamRequest {
    optional string table_name = 1;
}
            
名称 类型 是否必选 描述
table_name string 当前stream所属的表名。

响应消息结构

message ListStreamResponse {
    repeated Stream streams = 1;
}

message Stream {
    required string stream_id = 1;
    required string table_name = 2;
    required int64 creation_time = 3;
}
            
名称 类型 描述
stream_id string 当前Stream的ID。
table_name string 当前Stream所属的表名。
creation_time int64 当前Stream enable的时间。

使用SDK

Java SDK:列出所有的Stream