Destinations
AWS Kinesis
Stream events to an Amazon Kinesis Data Stream.
Configuration
Config
| Field | Type | Required | Description |
|---|---|---|---|
config.stream_name | string | Yes | The Kinesis stream name |
config.region | string | Yes | AWS region (e.g., us-east-1) |
config.endpoint | string | No | Custom endpoint URL (for LocalStack, etc.) |
config.partition_key_template | string | No | JMESPath expression for partition key |
Credentials
| Field | Type | Required | Description |
|---|---|---|---|
credentials.key | string | Yes | AWS Access Key ID |
credentials.secret | string | Yes | AWS Secret Access Key |
credentials.session | string | No | AWS Session Token (for temporary credentials) |
Example
sh
Partition Key
By default, the event ID is used as the partition key. You can customize this using a JMESPath expression in partition_key_template:
json
Record Format
If you publish an event:
json
By default, the Kinesis record includes both metadata and the event's data field. The metadata object contains system metadata (event-id, topic, timestamp) plus any event metadata from the published event:
json
When DESTINATIONS_AWS_KINESIS_METADATA_IN_PAYLOAD is set to false, only the event's data field is sent:
json
IAM Permissions
The IAM user or role needs the following permission:
json
Operator Configuration
| Environment Variable | Default | Description |
|---|---|---|
DESTINATIONS_AWS_KINESIS_METADATA_IN_PAYLOAD | true | Include Outpost metadata in the Kinesis record payload |