himanshug commented on a change in pull request #8458: Exit JVM on curator
unhandled errors
URL: https://github.com/apache/incubator-druid/pull/8458#discussion_r321002653
##########
File path: server/src/main/java/org/apache/druid/curator/CuratorConfig.java
##########
@@ -26,16 +26,20 @@
import javax.validation.constraints.Min;
-/**
- */
public class CuratorConfig
{
- @JsonProperty("host")
+ static final String HOST = "host";
+ @JsonProperty(HOST)
private String zkHosts = "localhost";
@JsonProperty("sessionTimeoutMs")
@Min(0)
- private int zkSessionTimeoutMs = 30000;
+ private int zkSessionTimeoutMs = 30_000;
+
+ static final String CONNECTION_TIMEOUT_MS = "connectionTimeoutMs";
Review comment:
same
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]