The documentation you are viewing is for Dapr v0.11 which is an older version of Dapr. For up-to-date documentation, see the latest version.
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
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: <NAME>
namespace: <NAMESPACE>
spec:
type: bindings.aws.kinesis
version: v1
metadata:
- name: streamName
value: KINESIS_STREAM_NAME # Kinesis stream name
- name: consumerName
value: KINESIS_CONSUMER_NAME # Kinesis consumer name
- name: mode
value: shared # shared - Shared throughput or extended - Extended/Enhanced fanout
- name: region
value: AWS_REGION #replace
- name: accessKey
value: AWS_ACCESS_KEY # replace
- name: secretKey
value: AWS_SECRET_KEY #replace
- name: sessionToken
value: *****************
mode
Accepted values: shared, extended. shared - Shared throughput, extended - Extended/Enhanced fanout methods. More details are herestreamName
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
- Bindings building block
- How-To: Trigger application with input binding
- How-To: Use bindings to interface with external resources
- Bindings API reference
- Authenticating to AWS
Last modified July 7, 2022: update nav bar v0.11 (#2633) (b309d3d)