此内容没有您所选择的语言版本。
Chapter 7. L
7.1. Listener 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
Defines how clients connect to the Kafka cluster. Streams for Apache Kafka supports several listener types for exposing Kafka internally or externally.
Listener types:
- internal
- Kafka exposed only within the OpenShift cluster
- route
- Kafka exposed externally using OpenShift Routes
- loadbalancer
-
Kafka exposed externally using a
LoadBalancerservice - nodeport
-
Kafka exposed externally using
NodePortservices - ingress
- Kafka exposed externally using OpenShift NGINX Ingress with TLS passthrough
- cluster-ip
-
Kafka exposed using a per-broker
ClusterIPservice
7.2. Logging (configuration) 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
Logging for Kafka components and Streams for Apache Kafka operators is configured through their custom resources. The configuration uses Log4j2 and supports dynamic updates without restarting pods.
Configuration methods:
- inline
- Loggers and levels are defined directly in the custom resource. Used for simple changes to log levels.
- external
-
Loggers and levels are defined in a
ConfigMapreferenced by the custom resource. Used for complex, reusable, or filtered configurations.