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 LoadBalancer service
nodeport
Kafka exposed externally using NodePort services
ingress
Kafka exposed externally using OpenShift NGINX Ingress with TLS passthrough
cluster-ip
Kafka exposed using a per-broker ClusterIP service

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 ConfigMap referenced by the custom resource. Used for complex, reusable, or filtered configurations.
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat