Enforce string values in InstanceSpec's custom properties (#1274)

`InstanceSpec`'s `customProperties` will be fed to `Properties` in
`QuorumConfigBuilder::buildConfigProperties`, so we have to make sure it
contains only string values.

Instead of `ClassCastException` in read phase, this pr complains in
`InstanceSpec` construction phase.

We could deprecate these constructors in next step by introducing builder
for `InstanceSpec`(#1222).

Fixes #1178, CURATOR-663.
1 file changed
tree: 559bfdd260f91a15ea067739cc596fe6d2853a61
  1. .github/
  2. .mvn/
  3. curator-client/
  4. curator-examples/
  5. curator-framework/
  6. curator-recipes/
  7. curator-test/
  8. curator-test-zk35/
  9. curator-test-zk36/
  10. curator-test-zk37/
  11. curator-test-zk38/
  12. curator-x-async/
  13. curator-x-discovery/
  14. curator-x-discovery-server/
  15. .asf.yaml
  16. .git-blame-ignore-revs
  17. .gitignore
  18. DEPENDENCIES
  19. doap.rdf
  20. LICENSE
  21. licenserc.toml
  22. merge-pr.py
  23. mvnw
  24. mvnw.cmd
  25. NOTICE
  26. pom.xml
  27. README.md
README.md

Apache Curator

Maven Central Curator Website Stack Overflow Twitter

What is Apache Curator?

Apache Curator is a Java/JVM client library for Apache ZooKeeper, a distributed coordination service.

Apache Curator includes a high-level API framework and utilities to make using Apache ZooKeeper much easier and more reliable. It also includes recipes for common use cases and extensions such as service discovery and a Java 8 asynchronous DSL.

For more details: