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

Validate Debezium Server configuration properties

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 2.1.0.Alpha2
    • None
    • debezium-server
    • None
    • False
    • False

    Description

      Currently, there's no mechanism to validate a given config property, for example:
       

      @ConfigProperty(name = PROP_PREFIX + "batch.size", defaultValue = "500")   
      Integer batchSize;

       
      I think we should embrace something like this [1], so we will be able to add validations to each config property, in the above example, batchSize must be positive.

      In some other cases, a given property should be greater than another property and so on
      [1] https://quarkus.io/guides/config-mappings#validation

      gmorling@redhat.com replied: "Yes, good idea, looks like this deserves more general handling indeed. "

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yossish Yossi Shirizli
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: