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

CloudEvents: Propagate "partitionkey"

    XMLWordPrintable

Details

    • False
    • False

    Description

      As per the CE partitioning extension, the "partitionkey" attribute "can be used to determine which bucket each event goes into". We should set it to a value derived from the change event key. I can think of two ways:

      • Stringified JSON-representation of the key, e.g. "{\"id\" : 1234, \"sub-id\" : 56}"
      • semicolon-separated concatention of all key field(s), e.g. "id:1234;sub-id:56", similar to what we do for the "id" field

      I'd vote for the latter. Any thoughts?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gunnar.morling Gunnar Morling
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: