Class ConfigSanityCheck

    • Constructor Detail

      • ConfigSanityCheck

        public ConfigSanityCheck()
    • Method Detail

      • validate

        public static void validate​(Iterable<Map.Entry<String,​String>> entries)
        Validates the given configuration entries. A valid configuration contains only valid properties (i.e., defined or otherwise valid) that are not prefixes and whose values are formatted correctly for their property types. A valid configuration also contains a value for property Property.INSTANCE_ZK_TIMEOUT within a valid range.
        Parameters:
        entries - iterable through configuration keys and values
        Throws:
        ConfigSanityCheck.SanityCheckException - if a fatal configuration error is found