Amazon Kinesis stream configuration.

Aws Kinesis🔗

Amazon Kinesis stream configuration.

Configuration🔗

FieldTypeRequiredDefaultDescription
inputs[string]noUpstream component names that feed events into this sink (when used as sink).
error_policyErrorPolicynodrop_on_errorPolicy for handling errors during event processing (when used as sink).
decodingDecoderConfigEnum (optional)noOptional decoder/encoder configuration for input/output events.
bufferBufferConfignoBuffer configuration for event batching (when used as sink).
authAwsConfig (optional)noAWS authentication and region settings.
  regionstring (optional)noAWS region to operate in.
  endpointstring (optional)noCustom AWS endpoint URL (for LocalStack, MinIO, etc.).
  access_key_idstring (optional)noAWS access key ID for static credentials.
  secret_access_keystring (optional)noAWS secret access key for static credentials. (sensitive)
  session_tokenstring (optional)noAWS session token for temporary credentials. (sensitive)
  assume_rolestring (optional)noIAM role ARN to assume.
  session_namestring (optional)noSession name when assuming a role.
  external_idstring (optional)noExternal ID for cross-account role assumption.
  profilestring (optional)noAWS profile name from shared credentials file.
  credentials_filestring (optional)noPath to an AWS credentials file.
  imdsImdsConfig (optional)noInstance Metadata Service (IMDS) configuration.
    connect_timeout_secondsunsigned integer (optional)no1Timeout in seconds for IMDS connection.
    max_attemptsunsigned integer (optional)no3Maximum number of IMDS retry attempts.
    read_timeout_secondsunsigned integer (optional)no1Timeout in seconds for IMDS read operations.
  load_timeout_secsunsigned integer (optional)no10Timeout in seconds for loading AWS credentials.
stream_namestringyesKinesis stream name.

Telemetry🔗

This component emits the following standard telemetry metrics and events.

Metrics🔗

NameTypeDescription
component_received_events_totalCounterTotal number of Kinetic events created by this source.
component_received_event_bytes_totalCounterTotal estimated byte size of events created.
component_received_network_bytes_totalCounterTotal number of raw network bytes received.
component_errors_totalCounterTotal number of errors encountered during processing.

Events🔗

NameDescription
ComponentErrorEmitted when an error occurs during component execution.
ComponentEventsDroppedEmitted when events are intentionally or unintentionally dropped.

Example🔗

sources:
  my_aws_kinesis:
    type: aws_kinesis
    inputs: ["my_transform"]
    auth:
      region: us-west-2
      endpoint: http://localhost:4566
      access_key_id: AKIAIOSFODNN7EXAMPLE
      secret_access_key: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
      assume_role: arn:aws:iam::123456789012:role/kinetic-ingest
      session_name: kinetic-session
      profile: default
      credentials_file: /home/kinetic/.aws/credentials
      imds:
        connect_timeout_seconds: 5
        max_attempts: 5
        read_timeout_seconds: 5
    stream_name: my-stream