-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
False
-
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. "
- relates to
-
DBZ-4637 Redis Sink - change records should be streamed in batches
- Closed