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

Cassandra UUID handling

XMLWordPrintable

    • False
    • False
    • undefined
    • Hide

      Debezium: 1.6.1 Final

      Cassandra: 3.11.10

      Kafka: 2.80

      Create a table with a UUID column type. Trigger CDC events for the table. Debezium logging will show and the kafka payload will have the UUID value as a base64 encoding of the serialized UUID using the Cassandra UUIDSerializer.

      Show
      Debezium: 1.6.1 Final Cassandra: 3.11.10 Kafka: 2.80 Create a table with a UUID column type. Trigger CDC events for the table. Debezium logging will show and the kafka payload will have the UUID value as a base64 encoding of the serialized UUID using the Cassandra UUIDSerializer.

      Cassandra UUID column types are serialized to Kafka events using Cassandra serialization  (org.apache.cassandra.serializers.UUIDSerializer) to a byte array followed by base64 encoding.

      E.g., UUID 000e0000-5719-12a3-0000-000028327d4a is represented as "AA4AAFcZEqMAAAAAKDJ9Sg==" 

      As per suggestion from gunnar.morling, this issue is created to track the possibility of changing to use a standard String representation like other connectors.

      https://groups.google.com/u/1/g/debezium/c/LdJy5jXQjU0/m/67dAnu84AgAJ

       

              xiaofu24 Xiao Fu (Inactive)
              amathewk Anil Mathew (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: