kafka-security-manager
kafka-security-manager copied to clipboard
feat(HttpSourceAcl): Add optional configuration header configurations
Add 2 optional configuration properties:
-
contentlength.required
: Defaults tofalse
, fail fast rather than skipping HTTP response body length validation when set totrue
. Corresponding environment variable:SOURCE_HTTP_CONTENT_LENGTH_HEADER_REQUIRED
-
headers
: Defaults to empty, adds extra headers on the HTTP requests sent by theHttpSourceAcl
, overriding default headers in case of duplicates, including those added from another configuration, authentication for example. Corresponding environment variable:SOURCE_HTTP_HEADER_OVERRIDES
formatted as CSV such as "k1:v1,k2:v2"