Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 7. L
7.1. Listener Copier lienLien copié sur presse-papiers!
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) Copier lienLien copié sur presse-papiers!
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.