Uses of Class
org.springframework.rabbit.stream.config.SuperStreamBuilder
Package
Description
Provides classes for stream listener configuration.
-
Uses of SuperStreamBuilder in org.springframework.rabbit.stream.config
Modifier and TypeMethodDescriptionSuperStreamBuilder.initialClusterSize
(int count) Set initial replication factor for each partition.Set the maximum age retention per stream, which will remove the oldest data.SuperStreamBuilder.maxLength
(long bytes) Set the maximum log size as the retention configuration for each stream, which will truncate the log based on the data size.SuperStreamBuilder.maxSegmentSize
(long bytes) Set the maximum size limit for segment file.Set the stream name.SuperStreamBuilder.partitions
(int partitions) Set the partitions number.SuperStreamBuilder.routingKeyStrategy
(BiFunction<String, Integer, List<String>> routingKeyStrategy) Set a strategy to determine routing keys to use for the partitions.static SuperStreamBuilder
SuperStreamBuilder.superStream
(String name) Creates a builder for Super Stream.static SuperStreamBuilder
SuperStreamBuilder.superStream
(String name, int partitions) Creates a builder for Super Stream.SuperStreamBuilder.withArgument
(String key, Object value) Set extra argument which is not covered by builder's methods.