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

The internal option snapshot.scan.all.columns.force should be defined with database prefix

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • 3.4.0.Alpha2
    • None
    • debezium-core
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      In DBZ-2575, a new internal property, internal.snapshot.scan.all.columns.force, was added. When enabled, it reduces the overhead of reading column details by performing a per-table column metadata fetch rather than creating a cursor for all tables within the schema.

      The confusing part is that this property must be prefixed with database. so that when we use the Configuration#subset method to get all properties that are prefixed with either database. or driver., they're included in the JdbcConfiguration.

      So users need to specify this property as:
      database.internal.snapshot.scan.all.columns.force

      Would it not make more sense to adjust how the JdbcConfiguration is created by having the subset call include all properties that are prefixed with:

      • database.*
      • driver.*
      • internal.database.*
      • internal.driver.*

      This way the configuration property in the class that be defined much like how we define the USER, PASSWORD, and other relational JDBC properties, so that the usage is better self-documented rather than needing to understand how the value gets passed in through our various classes?

              Unassigned Unassigned
              ccranfor@redhat.com Chris Cranford
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: