You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some times the query running from the JDBC driver are failing because of broker list fetching is listing all the servers even the dead servers we should limit to fetch only online brokers so we need to pass the state ONLINE while calling broker list to controller.
Some times the query running from the JDBC driver are failing because of broker list fetching is listing all the servers even the dead servers we should limit to fetch only online brokers so we need to pass the state ONLINE while calling broker list to controller.
public ControllerTenantBrokerResponse getBrokersFromController(String controllerAddress, String tenant) { try { String url = _scheme + "://" + controllerAddress + "/v2/brokers/tenants/" + tenant; BoundRequestBuilder requestBuilder = _httpClient.prepareGet(url); if (_headers != null) { _headers.forEach((k, v) -> requestBuilder.addHeader(k, v)); }
The text was updated successfully, but these errors were encountered: