aws_kinesis
Sends messages to a Kinesis stream.
Introduced in version 1.0.0.
- Common
- Advanced
# Common config fields, showing default values
output:
label: ""
aws_kinesis:
stream: foo # No default (required)
partition_key: "" # No default (required)
max_in_flight: 64
batching:
count: 0
byte_size: 0
period: ""
jitter: 0
check: ""
# All config fields, showing default values
output:
label: ""
aws_kinesis:
stream: foo # No default (required)
partition_key: "" # No default (required)
hash_key: "" # No default (optional)
max_in_flight: 64
batching:
count: 0
byte_size: 0
period: ""
jitter: 0
check: ""
processors: [] # No default (optional)
region: ""
endpoint: ""
credentials:
profile: ""
id: ""
secret: ""
token: ""
from_ec2_role: false
role: ""
role_external_id: ""
max_retries: 0
backoff:
initial_interval: 1s
max_interval: 5s
max_elapsed_time: 30s
Both the partition_key
(required) and hash_key
(optional) fields can be dynamically set using function interpolations described here. When sending batched messages the interpolations are performed per message part.
Credentials
By default Bento will use a shared credentials file when connecting to AWS services. It's also possible to set them explicitly at the component level, allowing you to transfer data across accounts. You can find out more in this document.
Performance
This output benefits from sending multiple messages in flight in parallel for improved performance. You can tune the max number of in flight messages (or message batches) with the field max_in_flight
.
This output benefits from sending messages as a batch for improved performance. Batches can be formed at both the input and output level. You can find out more in this doc.