Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-2578

Add support for using Vitess primary key as Kafka message key

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 1.4.0.Beta1
    • 1.4.0.Alpha1
    • vitess-connector
    • None

      Vitess recently added primary key information in the `FIELD` event. This means we know which fields are the PK fields. We need to use this information to set the SourceRecord key.

      Related vitess issue.

       

      A Vitess table's primary key will be used as the Kafka message key, or the unique key if the table does not have a primary key.

      We will not support multi-column keys because the flags provided by VStream doesn't have sufficient information for multi-column keys.

              kewei.shang kewei shang (Inactive)
              kewei.shang kewei shang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: