@ThreadSafe
public class KinesisShardReader
extends java.lang.Object
| Constructor and Description |
|---|
KinesisShardReader(java.lang.String channelName,
java.lang.String shardName,
software.amazon.awssdk.services.kinesis.KinesisClient kinesisClient,
java.util.concurrent.ExecutorService executorService,
java.time.Clock clock)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletableFuture<de.otto.synapse.channel.ShardPosition> |
consumeUntil(de.otto.synapse.channel.ShardPosition startFrom,
java.time.Instant until,
java.util.function.Consumer<KinesisShardResponse> responseConsumer)
Deprecated.
|
java.lang.String |
getChannelName()
Deprecated.
|
java.lang.String |
getShardName()
Deprecated.
|
boolean |
isStopping()
Deprecated.
|
void |
stop()
Deprecated.
|
public KinesisShardReader(java.lang.String channelName,
java.lang.String shardName,
software.amazon.awssdk.services.kinesis.KinesisClient kinesisClient,
java.util.concurrent.ExecutorService executorService,
java.time.Clock clock)
public java.lang.String getChannelName()
public java.lang.String getShardName()
public java.util.concurrent.CompletableFuture<de.otto.synapse.channel.ShardPosition> consumeUntil(de.otto.synapse.channel.ShardPosition startFrom,
java.time.Instant until,
java.util.function.Consumer<KinesisShardResponse> responseConsumer)
public void stop()
public boolean isStopping()