create_kafka_table
Creates a table using the local-kafka connector to enable real-time data streaming from Kafka topics into SQL Stream Builder.
Instructions
Create a new table that only uses local-kafka connector.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"table_name": "<table_name>",
"topic": "<topic>"
},
"name": "create_kafka_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | ||
| table_name | Yes | ||
| format_type | No | json | |
| bootstrap_servers | No | localhost:9092 | |
| scan_startup_mode | No | latest-offset | |
| kafka_connector_type | No | local-kafka | |
| additional_properties | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |