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

Implement object size calculator based on object schema

    XMLWordPrintable

Details

    Description

      Debezium now supports size limitnig queue in its internals.
      The SourceRecord is measured using low-level JVM implementation.

      As source records have a schema attached this issue should

      • Implement alternative object size calculator based on schema description, presence of fields and arrays sizes
      • Compare the performance with current implementation
      • If performance is better then replace the implementation and remove Guava dependency

      Further related to-dos:

      • Replace Thread.sleep() with Metronome in enqueue()

      Follow-up to https://github.com/debezium/debezium/pull/1922

      Attachments

        1. screenshot-1.png
          screenshot-1.png
          1.82 MB
        2. screenshot-2.png
          screenshot-2.png
          1.96 MB

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jpechane Jiri Pechanec
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: