See this for instructions on how to set up an AWS Kinesis data streams
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: <NAME>
namespace: <NAMESPACE>
spec:
type: bindings.aws.kinesis
metadata:
- name: region
value: AWS_REGION #replace
- name: accessKey
value: AWS_ACCESS_KEY # replace
- name: secretKey
value: AWS_SECRET_KEY #replace
- 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
region
is the AWS region.accessKey
is the AWS access key.secretKey
is the AWS secret key.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.
Note: In production never place passwords or secrets within Dapr components. For information on securely storing and retrieving secrets refer to Setup Secret Store
- create