This topic is an index to the ApacheĀ® Druid API documentation.
Set druid.server.http.enableResponseIdentityHeaders to true to include headers on every HTTP response that identify the Druid service which generated the response:
| Header | Description |
|---|---|
X-Druid-Server | Advertised host and port of the Druid server that generated the response. |
X-Druid-Service | Service name of that Druid server, as configured by druid.service. |
X-Druid-Version | Version of that Druid server. |
When a Router proxies a request, it passes through these headers from the upstream Druid server instead of returning the Router's identity. If the upstream server does not return all three headers, the Router does not return any of them. If the Router generates the response itself, the headers identify the Router.
This feature is disabled by default because the headers may expose internal hostnames, IP addresses, ports, and the Druid version. Only enable it when clients are authorized to receive this information.