Hello Kafka Community,

I am reaching out to discuss a limitation regarding the Kafka Connect REST
API's embedded Jetty server (we are using kafka 3.9.0 version).

Currently, the default header size limit is 8KB. In our environment, we are
exceeding this limit due to our business needs. When this limit is
exceeded, Jetty returns a 431 Request Header Fields Too Large error.

I've noted that while listeners and a few other properties are configurable
via the Worker properties, there doesn't seem to be a straightforward way
to increase the requestHeaderSize for the internal HttpConfiguration.

Questions for the group:

- Is there an existing JVM system property or undocumented config that can
override this in the current version?

- If not, would the community be open to a KIP (Kafka Improvement Proposal)
to expose this as a worker configuration (e.g.,
rest.request.header.size.default)?

- Are there any known workarounds for Kafka Connect distributed workers
without using an external reverse proxy to strip headers?Looking forward to
your insights.

Best regards,
Chitra Elangovan

Reply via email to