AWS Kinesis binding spec

Detailed documentation on the AWS Kinesis binding component

配置

To setup AWS Kinesis binding create a component of type bindings.aws.kinesis. 请参阅本指南,了解如何创建和应用绑定配置。

See this for instructions on how to set up an AWS Kinesis data streams 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 N 输入 The Kinesis stream mode. shared- Shared throughput, extended - Extended/Enhanced fanout methods. More details are here. Defaults to "shared" "shared", "extended"
streamName Input/Output The AWS Kinesis Stream Name "stream"
consumerName 输入 The AWS Kinesis Consumer Name "myconsumer"
region 输出 The specific AWS region the AWS Kinesis instance is deployed in "us-east-1"
accessKey 输出 要访问此资源的 AWS 访问密钥 "key"
secretKey 输出 要访问此资源的 AWS 密钥访问 Key "secretAccessKey"
sessionToken N 输出 要使用的 AWS 会话令牌 "sessionToken"

绑定支持

此组件支持 输入和输出 绑定接口。

该组件支持输出绑定,其操作如下:

  • create

相关链接

Last modified January 1, 0001