Skip to main content

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:

  1. bodyFormat must be set to decodable
  2. Generators should conform to the Kafka data shape, but only specify the value attribute (don't set the key).

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>"
}
}
}
}
}