Kafka binding spec
To setup Kafka binding create a component of type . See this guide on how to create and apply a binding configuration.
Warning
此组件支持 输入和输出 绑定接口。
create
When invoking the Kafka binding, its possible to provide an optional partition key by using the metadata
section in the request body.
You can run Kafka locally using this Docker image. To run without Docker, see the getting started guide .
-d '{
"data": {
"message": "Hi"
},
"metadata": {
"partitionKey": "key1"
"operation": "create"
}'