Does spring cloud stream support Kafka-like rebalancing for kinesis also? There has been a recent commit to the issue https://github.com/spring-projects/spring-integration-aws/issues/99
Thanks
Does spring cloud stream support Kafka-like rebalancing for kinesis also? There has been a recent commit to the issue https://github.com/spring-projects/spring-integration-aws/issues/99
Thanks
There is no exact, Kafka-like behavior in the AWS Kinesis at all. In Kafka the rebalancing is performed on the broker side and all the consumers are notified about their own assignments.
What we have currently in the KinesisMessageDrivenChannelAdapter
is some kind of leader election between shard consumers. But solution is not full yet with the automatic rebalancing when a new consumer is joined the group.
There is something like auto-rebalance in the Kinesis Client Library and already have a KclMessageDrivenChannelAdapter
, but it is not release ready yet from the Spring Integration AWS perspective.