org.apache.druid.discovery.BrokerClient was deprecated in favor of org.apache.druid.sql.client.BrokerClient in #17382.
Currently, there's only one usage of org.apache.druid.discovery.BrokerClient in SegmentLoadStatusFetcher in the MSQ code. We can remove that instance altogether and migrate to using the new org.apache.druid.sql.client.BrokerClient which is a more robust client.
org.apache.druid.discovery.BrokerClientwas deprecated in favor oforg.apache.druid.sql.client.BrokerClientin #17382.Currently, there's only one usage of
org.apache.druid.discovery.BrokerClientinSegmentLoadStatusFetcherin the MSQ code. We can remove that instance altogether and migrate to using the neworg.apache.druid.sql.client.BrokerClientwhich is a more robust client.