Unable to consume messages as batch mode in Kinesis Binder
问题 I am trying to consume messages from Kinesis stream as batch I am using compile('org.springframework.cloud:spring-cloud-starter-stream-kinesis:1.0.0.BUILD-SNAPSHOT') Application.yml spring: cloud: stream: bindings: input: group: groupName destination: stream-name content-type: application/json consumer: listenerMode: batch idleBetweenPolls: 10000 Code As per the documentation, when listenerMode is batch, then it is expected to have list as payload @StreamListener(Sink.INPUT) public void