Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2511 KIP-31 & KIP-32: message format change + adding timestamp to messages
  3. KAFKA-3036

Add up-conversion and down-conversion of ProducerRequest and FetchRequest to broker.

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0.0
    • Component/s: None
    • Labels:
      None

      Description

      This ticket will implement the necessary up-conversion and down-conversion for protocol migration in KIP-31 and KIP-32.

      https://cwiki.apache.org/confluence/display/KAFKA/KIP-32+-+Add+CreateTime+and+LogAppendTime+to+Kafka+message

      As a short summary:
      1. When message.format.version=0, down-convert MessageAndOffset v1 to MessageAndOffset v0 when receives ProduceRequest v2
      2. When message.format.version=1
      a. up-convert MessageAndOffset v0 to MessageAndOffset v1 when receives ProduceRequest v1
      b. down-convert MessageAndOffst v1 to MessageAndOffset v0 when receives FetchRequest v1

        Attachments

          Activity

            People

            • Assignee:
              becket_qin Jiangjie Qin
              Reporter:
              becket_qin Jiangjie Qin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: