-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Labels
Description
Spring Boot 3.1.0
spring-cloud-stream-binder-kinesis 4.0.0
Java 17
Localstack 2.1.0
Properties looks like:
spring.cloud.stream.bindings.input-in-0.destination=xxx-stream
spring.cloud.stream.bindings.input-in-0.group=xxx-group
spring.cloud.stream.bindings.input-in-0.content-type=text/plain
Tried both of these:
spring.cloud.stream.kinesis.bindings.input-in-0.consumer.shard-iterator-type=TRIM_HORIZON
spring.cloud.stream.kinesis.bindings.input.consumer.shard-iterator-type=TRIM_HORIZON
But my consumer only gets called for new messages. If I use the AWS cli get-records against Localstack with TRIM_HORIZON, it gets all the messages, so nothing is broken there.