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 StreamReadOptionsModifier and TypeMethodDescription@Nullable StreamReadOptionsReactiveStreamCommands.ReadCommand.getReadOptions()Methods 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.List<@NonNull ByteRecord>RedisStreamCommands.xRead(@NonNull StreamReadOptions readOptions, @NonNull StreamOffset<byte[]> @NonNull ... streams) Read records from one or moreStreamOffsets.DefaultStringRedisConnection.xReadAsString(StreamReadOptions readOptions, StreamOffset<String>... streams) default List<StringRecord>StringRedisConnection.xReadAsString(@NonNull StreamReadOptions readOptions, @NonNull StreamOffset<String> stream) Read records from one or moreStreamOffsets.StringRedisConnection.xReadAsString(@NonNull StreamReadOptions readOptions, @NonNull 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.List<@NonNull ByteRecord>RedisStreamCommands.xReadGroup(@NonNull Consumer consumer, @NonNull StreamReadOptions readOptions, @NonNull StreamOffset<byte[]> @NonNull ... 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(@NonNull Consumer consumer, @NonNull StreamReadOptions readOptions, @NonNull StreamOffset<String> stream) Read records from one or moreStreamOffsets using a consumer group.StringRedisConnection.xReadGroupAsString(@NonNull Consumer consumer, @NonNull StreamReadOptions readOptions, @NonNull StreamOffset<String> @NonNull ... 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, @Nullable StreamReadOptions readOptions, @Nullable 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(@NonNull Consumer consumer, @NonNull StreamReadOptions readOptions, @NonNull ReadOffset readOffset) Read records starting fromReadOffset. using a consumer group.BoundStreamOperations.read(@NonNull StreamReadOptions readOptions, @NonNull ReadOffset readOffset) Read records starting fromReadOffset.default <V> Flux<ObjectRecord<K,V>> ReactiveStreamOperations.read(@NonNull Class<V> targetType, @NonNull Consumer consumer, @NonNull StreamReadOptions readOptions, @NonNull StreamOffset<K> @NonNull ... streams) Read records from one or moreStreamOffsets using a consumer group asObjectRecord.default <V> Flux<ObjectRecord<K,V>> ReactiveStreamOperations.read(@NonNull Class<V> targetType, @NonNull StreamReadOptions readOptions, @NonNull StreamOffset<K> @NonNull ... streams) Read records from one or moreStreamOffsets asObjectRecord.ReactiveStreamOperations.read(@NonNull Consumer consumer, @NonNull StreamReadOptions readOptions, @NonNull StreamOffset<K>... streams) Read records from one or moreStreamOffsets using a consumer group.ReactiveStreamOperations.read(@NonNull StreamReadOptions readOptions, @NonNull StreamOffset<K> @NonNull ... streams) Read records from one or moreStreamOffsets.default <V> List<ObjectRecord<K,V>> StreamOperations.read(@NonNull Class<V> targetType, @NonNull Consumer consumer, @NonNull StreamReadOptions readOptions, StreamOffset<@NonNull K> @NonNull ... streams) Read records from one or moreStreamOffsets using a consumer group asObjectRecord.default <V> List<@NonNull ObjectRecord<K,V>> StreamOperations.read(@NonNull Class<V> targetType, @NonNull StreamReadOptions readOptions, StreamOffset<@NonNull K> @NonNull ... streams) Read records from one or moreStreamOffsets asObjectRecord.StreamOperations.read(@NonNull Consumer consumer, @NonNull StreamReadOptions readOptions, StreamOffset<@NonNull K> @NonNull ... streams) Read records from one or moreStreamOffsets using a consumer group.StreamOperations.read(@NonNull StreamReadOptions readOptions, StreamOffset<@NonNull K> @NonNull ... streams) Read records from one or moreStreamOffsets.
RedisCommandsProvider.streamCommands()}.