Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handle validation methods on pre-parse even for properties not mentio…
…ned in yaml
- Loading branch information
Showing
10 changed files
with
254 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# | ||
# Some configuration options are validated by the methods used in the @ValidatedBy annotation. | ||
# | ||
sstable_preemptive_open_interval: | ||
credentials_update_interval: ~ | ||
|
||
# Warning! This is for test the backward compatibility of the configuration stream_throughput_outbound. | ||
stream_throughput_outbound_megabits_per_sec: 200000000 | ||
|
||
# Null value must be handled by the validation method and the corresponding default value must be set correctly. | ||
repair_session_space: null | ||
|
||
# non-default values are validated by the methods used in the @ValidatedBy annotation and loaded. | ||
snapshot_links_per_second: 10 | ||
compaction_throughput: 48MiB/s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Null value are not allowed for the configuration property as it is not annotated by @Nullable, | ||
# so the validation method must throw an exception. | ||
entire_sstable_inter_dc_stream_throughput_outbound: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.