Connections
decodable
Commentary
added in 0.0.5
Connects to a Decodable instance, sending data through the Decodable REST API. The connection schema is identical to webhook, with two exceptions:
bodyFormat
must be set todecodable
- Generators should conform to the Kafka data shape, but only specify the
value
attribute (don't set thekey
).
Examples
Configuring the connection
{
"connections": {
"decodable-env": {
"kind": "webhook",
"dataShape": "kafka",
"bodyFormat": "decodable",
"httpConfigs": {
"url": "https://your-username.api.decodable.co/v1alpha2/connections/your-identifier/events",
"headers": {
"Authorization": "Bearer <token>"
}
}
}
}
}