AWS Kinesis binding spec

Detailed documentation on the AWS Kinesis binding component

See this for instructions on how to set up an AWS Kinesis data streams

Setup Dapr component

See Authenticating to AWS for information about authentication-related attributes

  1. apiVersion: dapr.io/v1alpha1
  2. kind: Component
  3. metadata:
  4. name: <NAME>
  5. namespace: <NAMESPACE>
  6. spec:
  7. type: bindings.aws.kinesis
  8. version: v1
  9. metadata:
  10. - name: streamName
  11. value: KINESIS_STREAM_NAME # Kinesis stream name
  12. - name: consumerName
  13. value: KINESIS_CONSUMER_NAME # Kinesis consumer name
  14. - name: mode
  15. value: shared # shared - Shared throughput or extended - Extended/Enhanced fanout
  16. - name: region
  17. value: AWS_REGION #replace
  18. - name: accessKey
  19. value: AWS_ACCESS_KEY # replace
  20. - name: secretKey
  21. value: AWS_SECRET_KEY #replace
  22. - name: sessionToken
  23. value: *****************
  • mode Accepted values: shared, extended. shared - Shared throughput, extended - Extended/Enhanced fanout methods. More details are here
  • streamName is the AWS Kinesis Stream Name.
  • consumerName is the AWS Kinesis Consumer Name.

Warning

The above example uses secrets as plain strings. It is recommended to use a secret store for the secrets as described here.

Output Binding Supported Operations

  • create

Related links

Last modified February 16, 2021: Merge pull request #1235 from dapr/update-v0.11 (b4e9fbb)