此内容没有您所选择的语言版本。
Chapter 129. KafkaBridgeHttpConfig schema reference
Used in: KafkaBridgeSpec
Full list of KafkaBridgeHttpConfig schema properties
Configures HTTP access to a Kafka cluster for the Kafka Bridge. The default HTTP configuration is for the Kafka Bridge to listen on port 8080.
Example Kafka Bridge HTTP configuration
As well as enabling HTTP access to a Kafka cluster, HTTP properties provide the capability to enable and define access control for the Kafka Bridge through Cross-Origin Resource Sharing (CORS). CORS is a HTTP mechanism that allows browser access to selected resources from more than one origin. To configure CORS, you define a list of allowed resource origins and HTTP access methods. For the origins, you can use a URL or a Java regular expression.
129.1. KafkaBridgeHttpConfig schema properties 复制链接链接已复制到粘贴板!
| Property | Property type | Description |
|---|---|---|
| port | integer | The port which is the server listening on. |
| cors | CORS configuration for the HTTP Bridge. |