You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 10, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -580,7 +580,22 @@ The `KinesisMessageDrivenChannelAdapter` iterates over its shards and tries to a
580
580
If `LockRegistry` is not provided, no exclusive locking happens and all the shards are consumed by this `KinesisMessageDrivenChannelAdapter`.
581
581
See also `DynamoDbLockRegistry` for more information.
582
582
583
-
Also the `KclMessageDrivenChannelAdapter` is provided for performing streams consumption by [KinesisClientLibrary][].
583
+
The `KinesisMessageDrivenChannelAdapter` can be configured with a `Function<List<Shard>, List<Shard>> shardListFilter` to filter the available, open, non-exhausted shards.
584
+
This filter `Function` will be called each time the shard list is refreshed.
585
+
586
+
For example, users may want to fully read any parent shards before starting to read their child shards. This could be achieved as follows:
0 commit comments