Remove Incorrect Doc Re Prefetch with MANUAL Acks

This commit b945d1cc02
incorrectly added text about reducing the prefetch to 1 when using manual acks.

While changing it to 1 fixed a test case (`testListenerRecoversFromBogusDoubleAck`) it should
not have been a general recommendation since acking the same message twice is not a valid
situation.

**cherry-pick to all supported branches**
This commit is contained in:
Gary Russell
2021-10-12 10:31:43 -04:00
committed by Artem Bilan
parent bb06e92a81
commit c2530c5d8f

View File

@@ -1918,8 +1918,6 @@ There are, nevertheless, scenarios where the prefetch value should be low:
* Other special cases
Also, with low-volume messaging and multiple consumers (including concurrency within a single listener container instance), you may wish to reduce the prefetch to get a more even distribution of messages across consumers.
We also recommend using `prefetch = 1` with the `MANUAL` `ack` mode.
The `basicAck` is an asynchronous operation and, if something wrong happens on the Broker (double `ack` for the same delivery tag, for example), you end up with processed subsequent messages in the batch that are unacknowledged on the Broker, and other consumers may see them.
See <<containerAttributes>>.