You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "David Arthur (Jira)" <ji...@apache.org> on 2022/04/25 15:54:00 UTC

[jira] [Created] (KAFKA-13854) Refactor ApiVersion to MetadataVersion

David Arthur created KAFKA-13854:
------------------------------------

             Summary: Refactor ApiVersion to MetadataVersion
                 Key: KAFKA-13854
                 URL: https://issues.apache.org/jira/browse/KAFKA-13854
             Project: Kafka
          Issue Type: Sub-task
            Reporter: David Arthur
            Assignee: Alyssa Huang


In KRaft, we will have a value for {{metadata.version}} corresponding to each IBP. In order to keep this association and make it obvious for developers, we will consolidate the IBP and metadata version into a new MetadataVersion enum. This new enum will replace the existing ApiVersion trait. 

For IBPs that precede the first KRaft preview version (AK 3.0), we will use a value of -1 for the metadata.version. 





--
This message was sent by Atlassian Jira
(v8.20.7#820007)