Uses of Class
org.springframework.data.redis.connection.stream.StreamReadOptions
Packages that use StreamReadOptions
Package
Description
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
Data structures and interfaces to interact with Redis Streams.
Core package for integrating Redis with Spring concepts.
-
Uses of StreamReadOptions in org.springframework.data.redis.connection
Methods in org.springframework.data.redis.connection that return StreamReadOptionsMethods in org.springframework.data.redis.connection with parameters of type StreamReadOptionsModifier and TypeMethodDescriptionReactiveStreamCommands.ReadCommand.withOptions(StreamReadOptions options) Applies the givenStreamReadOptions.default List<ByteRecord>DefaultedRedisConnection.xRead(StreamReadOptions readOptions, StreamOffset<byte[]>... streams) Deprecated.DefaultStringRedisConnection.xRead(StreamReadOptions readOptions, StreamOffset<byte[]>... streams) default Flux<ByteBufferRecord>ReactiveStreamCommands.xRead(StreamReadOptions readOptions, StreamOffset<ByteBuffer>... streams) Read records from one or moreStreamOffsets.RedisStreamCommands.xRead(StreamReadOptions readOptions, StreamOffset<byte[]>... streams) Read records from one or moreStreamOffsets.DefaultStringRedisConnection.xReadAsString(StreamReadOptions readOptions, StreamOffset<String>... streams) default List<StringRecord>StringRedisConnection.xReadAsString(StreamReadOptions readOptions, StreamOffset<String> stream) Read records from one or moreStreamOffsets.StringRedisConnection.xReadAsString(StreamReadOptions readOptions, StreamOffset<String>... streams) Read records from one or moreStreamOffsets.default List<ByteRecord>DefaultedRedisConnection.xReadGroup(Consumer consumer, StreamReadOptions readOptions, StreamOffset<byte[]>... streams) Deprecated.in favor ofRedisCommandsProvider.streamCommands()}.DefaultStringRedisConnection.xReadGroup(Consumer consumer, StreamReadOptions readOptions, StreamOffset<byte[]>... streams) default Flux<ByteBufferRecord>ReactiveStreamCommands.xReadGroup(Consumer consumer, StreamReadOptions readOptions, StreamOffset<ByteBuffer>... streams) Read records from one or moreStreamOffsets using a consumer group.RedisStreamCommands.xReadGroup(Consumer consumer, StreamReadOptions readOptions, StreamOffset<byte[]>... streams) Read records from one or moreStreamOffsets using a consumer group.DefaultStringRedisConnection.xReadGroupAsString(Consumer consumer, StreamReadOptions readOptions, StreamOffset<String>... streams) default List<StringRecord>StringRedisConnection.xReadGroupAsString(Consumer consumer, StreamReadOptions readOptions, StreamOffset<String> stream) Read records from one or moreStreamOffsets using a consumer group.StringRedisConnection.xReadGroupAsString(Consumer consumer, StreamReadOptions readOptions, StreamOffset<String>... streams) Read records from one or moreStreamOffsets using a consumer group.Constructors in org.springframework.data.redis.connection with parameters of type StreamReadOptionsModifierConstructorDescriptionReadCommand(List<StreamOffset<ByteBuffer>> streamOffsets, StreamReadOptions readOptions, Consumer consumer) -
Uses of StreamReadOptions in org.springframework.data.redis.connection.stream
Methods in org.springframework.data.redis.connection.stream that return StreamReadOptionsModifier and TypeMethodDescriptionStreamReadOptions.autoAcknowledge()Enable auto-acknowledgement by setting theNOACKflag when reading in the context of a consumer group.Use a blocking read and supply thetimeoutafter which the call will terminate if no message was read.StreamReadOptions.count(long count) Limit the number of messages returned per stream.static StreamReadOptionsStreamReadOptions.empty()Creates an emptyStreamReadOptionsinstance.StreamReadOptions.noack()Enable auto-acknowledgement by setting theNOACKflag when reading in the context of a consumer group. -
Uses of StreamReadOptions in org.springframework.data.redis.core
Methods in org.springframework.data.redis.core with parameters of type StreamReadOptionsModifier and TypeMethodDescriptionBoundStreamOperations.read(Consumer consumer, StreamReadOptions readOptions, ReadOffset readOffset) Read records starting fromReadOffset. using a consumer group.BoundStreamOperations.read(StreamReadOptions readOptions, ReadOffset readOffset) Read records starting fromReadOffset.default <V> Flux<ObjectRecord<K,V>> ReactiveStreamOperations.read(Class<V> targetType, Consumer consumer, StreamReadOptions readOptions, StreamOffset<K>... streams) Read records from one or moreStreamOffsets using a consumer group asObjectRecord.default <V> Flux<ObjectRecord<K,V>> ReactiveStreamOperations.read(Class<V> targetType, StreamReadOptions readOptions, StreamOffset<K>... streams) Read records from one or moreStreamOffsets asObjectRecord.ReactiveStreamOperations.read(Consumer consumer, StreamReadOptions readOptions, StreamOffset<K>... streams) Read records from one or moreStreamOffsets using a consumer group.ReactiveStreamOperations.read(StreamReadOptions readOptions, StreamOffset<K>... streams) Read records from one or moreStreamOffsets.default <V> List<ObjectRecord<K,V>> StreamOperations.read(Class<V> targetType, Consumer consumer, StreamReadOptions readOptions, StreamOffset<K>... streams) Read records from one or moreStreamOffsets using a consumer group asObjectRecord.default <V> List<ObjectRecord<K,V>> StreamOperations.read(Class<V> targetType, StreamReadOptions readOptions, StreamOffset<K>... streams) Read records from one or moreStreamOffsets asObjectRecord.StreamOperations.read(Consumer consumer, StreamReadOptions readOptions, StreamOffset<K>... streams) Read records from one or moreStreamOffsets using a consumer group.StreamOperations.read(StreamReadOptions readOptions, StreamOffset<K>... streams) Read records from one or moreStreamOffsets.
RedisCommandsProvider.streamCommands()}.