[jira] [Commented] (KAFKA-9297) CreateTopic API do not work with older version of the request/response

2019-12-16 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on KAFKA-9297:
---

mimaison commented on pull request #7829: KAFKA-9297; CreateTopic API do not 
work with older version of the request/response
URL: https://github.com/apache/kafka/pull/7829
 
 
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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
>Reporter: David Jacot
>Assignee: David Jacot
>Priority: Major
>
> 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.



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


[jira] [Commented] (KAFKA-9297) CreateTopic API do not work with older version of the request/response

2019-12-13 Thread ASF GitHub Bot (Jira)


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

ASF GitHub Bot commented on KAFKA-9297:
---

dajac commented on pull request #7829: KAFKA-9297; CreateTopic API do not work 
with older version of the request/response
URL: https://github.com/apache/kafka/pull/7829
 
 
   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 serialisation 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.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   
 

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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 
> 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)