[
https://issues.apache.org/jira/browse/KAFKA-19053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai resolved KAFKA-19053.
------------------------------------
Fix Version/s: 4.1.0
Resolution: Fixed
> 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: HongYi Chen
> Priority: Major
> Fix For: 4.1.0
>
>
> {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)