Clickhouse send http progress headers with the name X-ClickHouse-Progress which cannot be handled in a streaming matter in akka
In the request we include our own custom header X-Internal-Identifier so we can send the internal query id with the progress
We expect to first find the request with the custom header and then receive the progress headers
The progress headers are being intercepted by the transport and send to the source as progress events with the internal query id
After the first progress header is received we send the end of headers character so that akka can eagerly return the http response
Clickhouse send http progress headers with the name X-ClickHouse-Progress which cannot be handled in a streaming matter in akka In the request we include our own custom header
X-Internal-Identifierso we can send the internal query id with the progress We expect to first find the request with the custom header and then receive the progress headers The progress headers are being intercepted by the transport and send to the source as progress events with the internal query id After the first progress header is received we send the end of headers character so that akka can eagerly return the http response