v.20.4New Feature

Support for Custom HTTP Handlers in ClickHouse

Support custom HTTP handlers. See #5436 for description. #7572 (Winter Zhang)
ClickHouse now supports custom HTTP handlers, allowing users to extend the HTTP interface with their own request handlers.

Why it matters

This feature enables users to add custom HTTP endpoints to ClickHouse, providing greater flexibility and control over HTTP interactions beyond the built-in APIs. It solves the problem of extending ClickHouse functionality via HTTP without modifying core server code, making it easier to integrate with external systems or implement custom behaviors.

How to use it

Users can define and register their own HTTP handlers within ClickHouse by implementing the handler interface and configuring the server to route specific HTTP requests to these handlers. Refer to the issue and pull request discussions for implementation details and examples.