You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2015/06/16 23:48:01 UTC

[jira] [Resolved] (KAFKA-2195) Add versionId to AbstractRequest.getErrorResponse and AbstractRequest.getRequest

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

Jun Rao resolved KAFKA-2195.
----------------------------
    Resolution: Fixed

Thanks for the latest patch. +1 and committed to trunk.

> Add versionId to AbstractRequest.getErrorResponse and AbstractRequest.getRequest
> --------------------------------------------------------------------------------
>
>                 Key: KAFKA-2195
>                 URL: https://issues.apache.org/jira/browse/KAFKA-2195
>             Project: Kafka
>          Issue Type: Sub-task
>            Reporter: Andrii Biletskyi
>            Assignee: Jun Rao
>             Fix For: 0.8.3
>
>         Attachments: KAFKA-2195.patch, KAFKA-2195_2015-05-24_22:48:55.patch, KAFKA-2195_2015-06-15_09:54:53.patch, KAFKA-2195_2015-06-16_22:28:19.patch
>
>
> This is needed to support versioning.
> 1) getRequest: to parse bytes into correct schema you need to know it's version; by default it's the latest version (current_schema)
> 2) getErrorResponse: after filling map with error codes you need to create respective Response message which dependes on versionId



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)