Creates a tunnel for data consumption. Data tunnels can be used to consume data in data tables in real time.
Request syntax
message CreateTunnelRequest {
required Tunnel tunnel = 1;
}
Parameter | Type | Required | Description |
tunnel | Yes | The configuration of the tunnel. |
Response syntax
message CreateTunnelResponse {
required string tunnel_id = 1;
}
Parameter | Type | Required | Description |
tunnel_id | string | Yes | The ID of the tunnel. Each tunnel ID is unique. |
Use Tablestore SDKs
You can use the following SDKs to create a tunnel:
Tablestore SDK for Java: Create tunnels
Tablestore SDK for Go: Create tunnels