@Andrea please find code on below link to test that http4 dont support processing chunk data
https://github.com/imranrazakhan/KubernetesConfigMapWatcher it look like http4 dont support reading of chunked data until it receive all data, but in my case i want to receive/process data chunk by chunk. similar behaviour working with curl, Below Added and Modified are two chunks second got print after two minutes, in similar way i want camel route should process chunk rather than whole message # curl -v -k -H "Authorization: Bearer xxx" -H 'Accept: application/json' -H "Accept-Encoding: gzip" https://localhost:8443/api/v1/watch/namespaces/my-qa/configmaps/my-config-map * About to connect() to localhost port 8443 (#0) * Trying x.x.x.x... * Connected to localhost (x.x.x.x) port 8443 (#0) > GET /api/v1/watch/namespaces/my-qa/configmaps/my-config-map HTTP/1.1 > User-Agent: curl/7.29.0 > Host: localhost:8443 > Authorization: Bearer xxx > Accept: application/json > Accept-Encoding: gzip > < HTTP/1.1 200 OK < Cache-Control: no-store < Content-Type: application/json < Date: Sun, 15 Sep 2019 11:48:14 GMT < Transfer-Encoding: chunked < {"type":"ADDED","object":{"kind":"ConfigMap","apiVersion":"v1","metadata":{"name":"my-config-map","namespace":"my-qa","selfLink":"/api/v1/namespaces/yq-qa/configmaps/my-config-map","uid":"a8130369-d703-11e9-b37c-d2c8065c1507","resourceVersion":"33217315","creationTimestamp":"2019-09-14T15:23:51Z"},"data":{"test":"second modification 20tefdsfsfsc"}}} {"type":"MODIFIED","object":{"kind":"ConfigMap","apiVersion":"v1","metadata":{"name":"my-config-map","namespace":"my-qa","selfLink":"/api/v1/namespaces/my-qa/configmaps/my-config-map","uid":"a8130369-d703-11e9-b37c-d2c8065c1507","resourceVersion":"33217608","creationTimestamp":"2019-09-14T15:23:51Z"},"data":{"test":"second modification 20tefdsfsfsc gzip"}}}