- Zookeeper and controller
- Broker and controller
- Pinot with authorization (custom headers)
Zookeeper and controller
This option is preferable when Pinot components are accessible by Thirdeye using the endpoints exposed by<pinot_controller_url>/instances/{instanceName}
.
Configuration
Broker and Controller
If you experience the problem mentioned above, then this configuration may solve it. This requires the Pinot brokers to be accessible by ThirdEye.Configuration
zookeeperUrl
it is just a placeholder and has no impact once we
provide brokerUrl
. One drawback of this configuration is that we are providing a static broker URL, hence all queries will hit one broker unless all broker replicas are sitting behind a load balancer.
Pinot with authorization (custom headers)
We can configure the datasource to pass custom headers along with the requests that are made to Pinot. The obvious use case for this is when authorization is enabled on Pinot, and we are required to pass theAuthorization
header along with the requests.
headers
.