[ 
https://issues.apache.org/jira/browse/KAFKA-9297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Jacot updated KAFKA-9297:
-------------------------------
    Description: 
The create topic api do not work with older version of the api. It can be 
reproduced by trying to create a topic with `kafka-topics.sh` from 2.3. It 
timeouts.

The latest version of the response has introduced new fields with default 
values. When those fields are not supported by the version used by the client, 
the serialization mechanism expect to have the default values and throws 
otherwise. The current implementation in KafkaApis set them regardless of the 
version used.

It seems that it has been introduced in KIP-525.

  was:
The create topic api do not work with older version of the api. It can be 
reproduced by trying to create a topic with `kafka-topics.sh` from 2.3. It 
timeouts.

The latest version of the response has introduced new fields with default 
values. When those fields are not supported by the version used by the client, 
the serialization mechanism expect to have the default values and throw 
otherwise. The current implementation in KafkaApis set them regardless of the 
version used.

It seems that it has been introduced in KIP-525.


> CreateTopic API do not work with older version of the request/response
> ----------------------------------------------------------------------
>
>                 Key: KAFKA-9297
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9297
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 2.4.0
>            Reporter: David Jacot
>            Assignee: David Jacot
>            Priority: Blocker
>
> The create topic api do not work with older version of the api. It can be 
> reproduced by trying to create a topic with `kafka-topics.sh` from 2.3. It 
> timeouts.
> The latest version of the response has introduced new fields with default 
> values. When those fields are not supported by the version used by the 
> client, the serialization mechanism expect to have the default values and 
> throws otherwise. The current implementation in KafkaApis set them regardless 
> of the version used.
> It seems that it has been introduced in KIP-525.



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

Reply via email to