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)