| Package | Description |
|---|---|
| com.rabbitmq.stream |
Main API for RabbitMQ Stream Java Client.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
ConsumerFlowStrategy.CreditOnChunkArrivalConsumerFlowStrategy
Strategy that provides the specified number of initial credits and a credit on each new chunk.
|
static class |
ConsumerFlowStrategy.MessageCountConsumerFlowStrategy
Strategy that provides the specified number of initial credits and a credit when the specified
ratio of the chunk messages are processed.
|
| Modifier and Type | Method and Description |
|---|---|
static ConsumerFlowStrategy |
ConsumerFlowStrategy.creditOnChunkArrival()
Strategy that provides 1 initial credit and a credit on each new chunk.
|
static ConsumerFlowStrategy |
ConsumerFlowStrategy.creditOnChunkArrival(int initialCredits)
Strategy that provides the specified number of initial credits and a credit on each new chunk.
|
static ConsumerFlowStrategy |
ConsumerFlowStrategy.creditOnProcessedMessageCount(int initialCredits,
double ratio)
Strategy that provides the specified number of initial credits and a credit when the specified
ratio of the chunk messages are processed.
|
static ConsumerFlowStrategy |
ConsumerFlowStrategy.creditWhenHalfMessagesProcessed()
Strategy that provides 1 initial credit and a credit when half of the chunk messages are
processed.
|
static ConsumerFlowStrategy |
ConsumerFlowStrategy.creditWhenHalfMessagesProcessed(int initialCredits)
Strategy that provides the specified number of initial credits and a credit when half of the
chunk messages are processed.
|
| Modifier and Type | Method and Description |
|---|---|
ConsumerBuilder.FlowConfiguration |
ConsumerBuilder.FlowConfiguration.strategy(ConsumerFlowStrategy strategy)
Flow strategy to use
|
Copyright © 2024 Broadcom Inc. and/or its subsidiaries. All rights reserved.