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

Truncate byte buffer should return a new array

XMLWordPrintable

       

      Feature request or enhancement

      For feature requests or enhancements, provide this information, please:

      Which use case/requirement will be addressed by the proposed feature?

      For avro converters it properly only looks at the byte buffer slice. However for Kafka Connect's default json converter it gets the underlying array which undoes the truncate logic. So we fix that here by returning a new byte buffer

      Implementation ideas (optional)

      Will put out a PR

            Unassigned Unassigned
            tthorn Thomas Thornton
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: