confluent.http.server.listeners
Comma-separated list of listeners that listen for API requests over either HTTP or HTTPS. If a
listener uses HTTPS, the appropriate SSL configuration parameters must aslo be set. If
confluent.metadata.server.listeners
is used instead of confluent.http.server.listeners
,
then the Metadata Service will also be enabled on the same listener.
- Type: list
- Default:
http://0.0.0.0:8082
- Importance: high
confluent.http.server.shutdown.graceful.ms
Amount of time to wait after a shutdown request for outstanding requests to complete.
- Type: int
- Default: 1000
- Importance: low
kafka.rest.bootstrap.servers
A list of Kafka brokers to connect to. For example,
PLAINTEXT://hostname:9092,SSL://hostname2:9092
. This setting defaults to the inter-broker
listener of the broker in which the REST Proxy is running. You can change it in cases where
you want the REST Proxy to talk to Kafka through a different listener, for example, because of
security.
- Type: list
- Default: inter-broker listener, e.g.
PLAINTEXT://localhost:9091
- Importance: medium
kafka.rest.access.control.allow.methods
Set value to Jetty Access-Control-Allow-Origin header for specified methods.
- Type: string
- Default: “”
- Importance: low
kafka.rest.access.control.allow.origin
Set value for Jetty Access-Control-Allow-Origin header.
- Type: string
- Default: “”
- Importance: low
kafka.rest.debug
Indicates whether extra debugging information is generated in some error response
entities.
- Type: boolean
- Default: false
- Importance: low
kafka.rest.request.logger.name
Name of the SLF4J logger to write the NCSA Common Log Format request log.
- Type: string
- Default:
io.confluent.rest-utils.request
- Importance: low
kafka.rest.response.mediatype.default
The default response media type that should be used if no specify types are requested in an
Accept header.
- Type: string
- Default:
application/json
- Importance: low
kafka.rest.response.mediatype.preferred
An ordered list of the server’s preferred media types used for responses, from most preferred to
least.
- Type: list
- Default: [application/json, application/vnd.kafka.v2+json]
- Importance: low
kafka.rest.metrics.jmx.prefix
Prefix to apply to metric names for the default JMX reporter.
- Type: string
- Default:
kafka.rest
- Importance: low
kafka.rest.metrics.num.samples
The number of samples maintained to compute metrics.
- Type: int
- Default: 2
- Importance: low
kafka.rest.metrics.sample.window.ms
The metrics system maintains a configurable number of samples over a fixed window size. This
configuration controls the size of the window. For example, you might maintain two samples each
measured over a 30 second period. When a window expires, you erase and overwrite the oldest
window.
- Type: long
- Default: 30000
- Importance: low
kafka.rest.kafka.rest.resource.extension.class
A list of classes to use as RestResourceExtension. Implementing the interface
RestResourceExtension
allows you to inject user defined resources like filters to the Kafka
HTTP APIs. Typically used to add custom capabilities like logging, security, etc.
- Type: list
- Default: “”
- Importance: low
kafka.rest.advertised.listeners
List of advertised listeners. This configuration is used to generate absolute URLs in V3
responses. The HTTP and HTTPS protocols are supported. Each listener must include the protocol,
hostname, and port. For example: http://myhost:8080
and https://0.0.0.0:8081
.
- Type: list
- Default: “”
- Importance: low
kafka.rest.confluent.resource.name.authority
The authority where the governance of the name space is delegated to. This value is defined by
the remainder of the CRN. This is used when generating Confluent resource names. For example,
confluent.cloud
and mds-01.example.com
.
- Type: string
- Default: “”
- Importance: low
kafka.rest.response.http.headers.config
Use to select which HTTP headers are returned in the HTTP response for Confluent Platform components. Specify
multiple values in a comma-separated string using the format
[action][header name]:[header value]
where [action]
is one of the following: set
,
add
, setDate
, or addDate
. You must use quotation marks around the header value when
the header value contains commas. For example:
kafka.rest.response.http.headers.config="add Cache-Control: no-cache, no-store, must-revalidate", add X-XSS-Protection: 1; mode=block, add Strict-Transport-Security: max-age=31536000; includeSubDomains, add X-Content-Type-Options: nosniff
- Type: string
- Default: “”
- Importance: low