startreedata / pinot-client-go

Apache Pinot Golang Client managed by StarTree
Apache License 2.0
28 stars 10 forks source link

Add controller based broker selector #4

Closed kffl closed 2 years ago

kffl commented 2 years ago

This PR adds a controller based broker selector that periodically fetches broker-to-table mapping from the Controller API (/v2/brokers/tables?state=ONLINE).

Similar functionality is already implemented in the Java client (apache/pinot#8467).