You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2025/03/30 14:33:00 UTC
[jira] [Created] (KAFKA-19053) Remove FetchResponse#of which is not used in production anymore
Chia-Ping Tsai created KAFKA-19053:
--------------------------------------
Summary: Remove FetchResponse#of which is not used in production anymore
Key: KAFKA-19053
URL: https://issues.apache.org/jira/browse/KAFKA-19053
Project: Kafka
Issue Type: Improvement
Reporter: Chia-Ping Tsai
Assignee: Chia-Ping Tsai
{code:java}
// TODO: remove as a part of KAFKA-12410
public static FetchResponse of(Errors error,
int throttleTimeMs,
int sessionId,
LinkedHashMap<TopicIdPartition, FetchResponseData.PartitionData> responseData) {
return new FetchResponse(toMessage(error, throttleTimeMs, sessionId, responseData.entrySet().iterator(), Collections.emptyList()));
}
{code}
this helper is not used by production, so we can remove it
--
This message was sent by Atlassian Jira
(v8.20.10#820010)