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

David Arthur commented on KAFKA-8998:
-------------------------------------

I'm not sure this is even incompatible since {{Collection<Node>}} is less 
specific than {{List<Node>}}. In 
[MetadataTest|https://github.com/apache/kafka/blob/2.3.1-rc1/clients/src/test/java/org/apache/kafka/clients/MetadataTest.java#L57]
 we still call it with a List.

> Release Candidate Version 2.3.1-rc1 breaks backward compatibility in PATCH 
> version
> ----------------------------------------------------------------------------------
>
>                 Key: KAFKA-8998
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8998
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 2.3.1
>            Reporter: Juan Pablo Correa
>            Priority: Major
>
> The expected type for the `preparedResponse` method in the `MetadataResponse` 
> ([https://github.com/apache/kafka/blob/2.3.1-rc1/clients/src/main/java/org/apache/kafka/common/requests/MetadataResponse.java#L466])
>  has changed from a `List<Node>` to a `Collection<Node>` from the version 
> 2.3.0 to 2.3.1, this breaks the backward compatibility that one would expect 
> from a PATCH version.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to