David Jacot created KAFKA-9297:
----------------------------------

             Summary: 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


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.



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

Reply via email to