From cee84e7d4cfdb6df724435c5e6aca45f466f0062 Mon Sep 17 00:00:00 2001 From: Michal Maslanka Date: Thu, 5 Nov 2020 10:42:37 +0100 Subject: [PATCH] k/fetch_request: limit max fetch_request version to 6 In redpanda we do not yet support incremental fetch requests. The incremental fetches are there to minimize overhead of sending request/responses for partitions that didn't change since previous fetch. For more details: https://cwiki.apache.org/confluence/display/KAFKA/KIP-227%3A+Introduce+Incremental+FetchRequests+to+Increase+Partition+Scalability Signed-off-by: Michal Maslanka --- src/v/kafka/requests/fetch_request.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v/kafka/requests/fetch_request.h b/src/v/kafka/requests/fetch_request.h index 85892ee165d3..353b3e415be4 100644 --- a/src/v/kafka/requests/fetch_request.h +++ b/src/v/kafka/requests/fetch_request.h @@ -19,7 +19,7 @@ struct fetch_api final { static constexpr const char* name = "fetch"; static constexpr api_key key = api_key(1); static constexpr api_version min_supported = api_version(4); - static constexpr api_version max_supported = api_version(10); + static constexpr api_version max_supported = api_version(6); static ss::future process(request_context&&, ss::smp_service_group);