code: private void checkZkConfiguration() {
      Preconditions.checkState(
          isSet(PropertyKey.ZOOKEEPER_ADDRESS) == getBoolean(PropertyKey.ZOOKEEPER_ENABLED),
          PreconditionMessage.INCONSISTENT_ZK_CONFIGURATION.toString(),
          PropertyKey.Name.ZOOKEEPER_ADDRESS, PropertyKey.Name.ZOOKEEPER_ENABLED);
    }
docs: Validates Zookeeper-related configuration and prints warnings for possible sources of error.
  
  @throws IllegalStateException if invalid Zookeeper configuration is encountered