Package com.rabbitmq.stream
Interface StreamCreator.SuperStreamConfiguration
-
- Enclosing interface:
- StreamCreator
public static interface StreamCreator.SuperStreamConfiguration
Super stream configuration.- Since:
- 0.15.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StreamCreator.SuperStreamConfiguration
bindingKeys(String... bindingKeys)
The binding keys to use when declaring the super stream partitions.StreamCreator
creator()
Go back to the creator.StreamCreator.SuperStreamConfiguration
partitions(int partitions)
The number of partitions of the super stream.
-
-
-
Method Detail
-
partitions
StreamCreator.SuperStreamConfiguration partitions(int partitions)
The number of partitions of the super stream.Mutually exclusive with
bindingKeys(String...)
. Default is 3.- Parameters:
partitions
-- Returns:
- this super stream configuration instance
-
bindingKeys
StreamCreator.SuperStreamConfiguration bindingKeys(String... bindingKeys)
The binding keys to use when declaring the super stream partitions.Mutually exclusive with
partitions(int)
. Default is null.- Parameters:
bindingKeys
-- Returns:
- this super stream configuration instance
-
creator
StreamCreator creator()
Go back to the creator.- Returns:
- the stream creator
-
-