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

Truncate byte buffer should return a new array

       

      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

            [DBZ-8189] Truncate byte buffer should return a new array

            Since the problem described in this issue should be resolved in a recent advisory, it has been closed.

            For information on the advisory (Red Hat build of Debezium 2.7.3 release), and where to find the updated files, follow the link below.

            If the solution does not work for you, open a new bug report.
            https://access.redhat.com/errata/RHEA-2024:7859

            Errata Tool added a comment - Since the problem described in this issue should be resolved in a recent advisory, it has been closed. For information on the advisory (Red Hat build of Debezium 2.7.3 release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2024:7859

            Released

            Debezium Builder added a comment - Released

            Applied to 2.7 and 3.0

            Jiri Pechanec added a comment - Applied to 2.7 and 3.0

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

                Created:
                Updated:
                Resolved: