[ https://issues.apache.org/jira/browse/KNOX-3000?focusedWorklogId=900149&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-900149 ]
ASF GitHub Bot logged work on KNOX-3000: ---------------------------------------- Author: ASF GitHub Bot Created on: 17/Jan/24 13:19 Start Date: 17/Jan/24 13:19 Worklog Time Spent: 10m Work Description: zeroflag commented on code in PR #833: URL: https://github.com/apache/knox/pull/833#discussion_r1455543584 ########## gateway-discovery-cm/src/main/java/org/apache/knox/gateway/topology/discovery/cm/ClouderaManagerServiceDiscoveryMessages.java: ########## @@ -275,4 +275,7 @@ void roleConfigurationPropertyHasChanged(String propertyName, @Message(level = MessageLevel.DEBUG, text = "Found downscale event for role: {0} hosts: {1}") void foundDownScaleEvent(String role, Set<String> hosts); + + @Message(level = MessageLevel.DEBUG, text = "Service discovery client connect timeout {0}ms, read timeout {1}ms, write timeout {2}ms") Review Comment: The `getClient()` is called before every service discovery. I can change it to `INFO` but then probably we should put the logging elsewhere to ensure that it's not called too frequently. Issue Time Tracking ------------------- Worklog Id: (was: 900149) Time Spent: 1h 10m (was: 1h) > Add configurable socket / read timeout parameter to discovery client > -------------------------------------------------------------------- > > Key: KNOX-3000 > URL: https://issues.apache.org/jira/browse/KNOX-3000 > Project: Apache Knox > Issue Type: Improvement > Reporter: Attila Magyar > Assignee: Attila Magyar > Priority: Major > Time Spent: 1h 10m > Remaining Estimate: 0h > > We have an exposed retry parameter for the CM discovery client, but there is > no way to set socket or read timeout parameters. -- This message was sent by Atlassian Jira (v8.20.10#820010)