Polish RabbitMQ properties doc
Fix description for `prefetch`; remove reference to transactions since the direct container does not support transactionSize. Also fix `transactionSize` to just reference acks; autoConfiguration doesn't support enabling transactions. Closes gh-14569
This commit is contained in:
committed by
Stephane Nicoll
parent
bc99fa6cdb
commit
26c1e389df
@@ -577,8 +577,8 @@ public class RabbitProperties {
|
||||
private AcknowledgeMode acknowledgeMode;
|
||||
|
||||
/**
|
||||
* Number of messages to be handled in a single request. It should be greater than
|
||||
* or equal to the transaction size (if used).
|
||||
* Maximum number of unacknowledged messages that can be outstanding at each
|
||||
* consumer.
|
||||
*/
|
||||
private Integer prefetch;
|
||||
|
||||
@@ -659,9 +659,8 @@ public class RabbitProperties {
|
||||
private Integer maxConcurrency;
|
||||
|
||||
/**
|
||||
* Number of messages to be processed in a transaction. That is, the number of
|
||||
* messages between acks. For best results, it should be less than or equal to the
|
||||
* prefetch count.
|
||||
* Number of messages to be processed between acks when the acknowledge mode is
|
||||
* AUTO. If larger than prefetch, prefetch will be increased to this value.
|
||||
*/
|
||||
private Integer transactionSize;
|
||||
|
||||
|
||||
@@ -1082,7 +1082,7 @@ content into your application. Rather, pick only the properties that you need.
|
||||
spring.rabbitmq.listener.direct.consumers-per-queue= # Number of consumers per queue.
|
||||
spring.rabbitmq.listener.direct.default-requeue-rejected= # Whether rejected deliveries are re-queued by default.
|
||||
spring.rabbitmq.listener.direct.idle-event-interval= # How often idle container events should be published.
|
||||
spring.rabbitmq.listener.direct.prefetch= # Number of messages to be handled in a single request. It should be greater than or equal to the transaction size (if used).
|
||||
spring.rabbitmq.listener.direct.prefetch= # Maximum number of unacknowledged messages that can be outstanding at each consumer.
|
||||
spring.rabbitmq.listener.direct.retry.enabled=false # Whether publishing retries are enabled.
|
||||
spring.rabbitmq.listener.direct.retry.initial-interval=1000ms # Duration between the first and second attempt to deliver a message.
|
||||
spring.rabbitmq.listener.direct.retry.max-attempts=3 # Maximum number of attempts to deliver a message.
|
||||
@@ -1102,7 +1102,7 @@ content into your application. Rather, pick only the properties that you need.
|
||||
spring.rabbitmq.listener.simple.retry.max-interval=10000ms # Maximum duration between attempts.
|
||||
spring.rabbitmq.listener.simple.retry.multiplier=1 # Multiplier to apply to the previous retry interval.
|
||||
spring.rabbitmq.listener.simple.retry.stateless=true # Whether retries are stateless or stateful.
|
||||
spring.rabbitmq.listener.simple.transaction-size= # Number of messages to be processed in a transaction. That is, the number of messages between acks. For best results, it should be less than or equal to the prefetch count.
|
||||
spring.rabbitmq.listener.simple.transaction-size= # Number of messages to be processed between acks when the acknowledge mode is AUTO. If larger than prefetch, prefetch will be increased to this value.
|
||||
spring.rabbitmq.listener.type=simple # Listener container type.
|
||||
spring.rabbitmq.password=guest # Login to authenticate against the broker.
|
||||
spring.rabbitmq.port=5672 # RabbitMQ port.
|
||||
|
||||
Reference in New Issue
Block a user