我正在从以下项目中寻求帮助:
以下是application.yml代码段:
spring:
cloud:
stream:
bindings:
ordersOut:
destination: test_stream
content-type: application/json
producer:
partitionKeyExpression: "1"
ordersIn:
destination: test_stream
content-type: application/json
如果我想要包含autoAddShards
,minShardCount
属性,可以添加它。
答案 0 :(得分:0)
根据AWS Kinesis Binder Documentation我们有:
spring:
cloud:
stream:
kinesis:
binder:
autoAddShards: true
minShardCount: 10