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

Azure Event Hub sink - built-in support for hashing partition keys

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 3.3.0.Alpha1
    • None
    • debezium-server
    • None

      Az event hub partition keys are limited to a max of 128 chars.
      When debezium tries to send a partition key longer than 128 chars, it throws an exception and terminates the connector. 

      This implements a new feature to optionally hash message keys to better support usage of the sink.
      New optional sink configs:

      • debezium.sink.eventhubs.hashmessagekey=true # false by default – when enabled, message keys will be hashed using the specified hash function
      • debezium.sink.eventhubs.hashmessagekeyfunction=java # java by default – supported values: java, md5, sha1, sha256

       

              Unassigned Unassigned
              liamdev1 Liam Wu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: