Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-13410 KRaft to KRaft Upgrades
  3. KAFKA-13935

Factor out static IBP usages from broker

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • None
    • None
    • None

    Description

      We pass the IBP down to the log layer for checking things like compression support. Currently, we are still reading this from KafkaConfig. In ZK mode this is fine, but in KRaft mode, reading the IBP from the config is not supported.

      Since KRaft only supports IBP/MetadataVersion greater than 3.0 (which supports the compression mode we check for), we may be able to avoid using a dynamic call and/or volatile to get the current version.

      Attachments

        Activity

          People

            mumrah David Arthur
            mumrah David Arthur
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: