Re: Increased latency when consuming from the closest ISR

2022-05-11 Thread benitocm
Hi, Thanks very much for the information. In https://github.com/apache/kafka/pull/11942, it is said the fetch request goes to the purgatory and will wait for wait timeout. Does it refer to fetch.max.wait.ms? In our test, we have configured that parameter to 100 ms. If that is the case, do you thin

Re: Increased latency when consuming from the closest ISR

2022-05-11 Thread Luke Chen
Hi, We have some improvement for the preferred read replica configured case. Ex: https://github.com/apache/kafka/pull/11942 https://github.com/apache/kafka/pull/11965 I know one improvement will be included in the v3.2.0 release, which will be released soon. Maybe you can give it a try to see if

Increased latency when consuming from the closest ISR

2022-05-10 Thread benitocm
Hi, We are using the functionality provided by KIP-392 (a consumer can fetch the data from a ISR replica instead of the partition leader) in a Kafka cluster stretched between two very close DCs (average round-trip latency about 2 milliseconds). What we have seen is that, on average, when the cons