[ 
https://issues.apache.org/jira/browse/KAFKA-12385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17844248#comment-17844248
 ] 

Chia-Ping Tsai commented on KAFKA-12385:
----------------------------------------

It seems to me `FetchResponse#responseData` is a weird function. The content of 
output is based on the input but we cache the output ... It will return same 
output even though we pass different input. That is a potential bug.

 

 

> Remove FetchResponse#responseData
> ---------------------------------
>
>                 Key: KAFKA-12385
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12385
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Ping Tsai
>            Priority: Major
>
> reference to [https://github.com/apache/kafka/pull/9758#discussion_r584142074]
> We can rewrite related code to avoid using stale data structure.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to