Apache Kafka Sink
Knative Eventing installation.
Installation
Install the Kafka controller:
Install the Kafka Sink data plane:
A KafkaSink
object looks like this:
Kafka Producer configurations
A Kafka Producer is the component responsible for sending events to the Apache Kafka cluster. Knative exposes all available Kafka Producer configurations that can be modified to suit your workloads.
You can change these configurations by modifying the config-kafka-sink-data-plane
config map in the namespace.
Documentation for the settings available in this config map is available on the , in particular, Producer configurations.
Apply the following
kafka-config-logging
config map:apiVersion: v1
kind: ConfigMap
metadata:
name: kafka-config-logging
data:
<configuration>
<appender name="jsonConsoleAppender" class="ch.qos.logback.core.ConsoleAppender">
<encoder class="net.logstash.logback.encoder.LogstashEncoder"/>
</appender>
<root level="DEBUG">
<appender-ref ref="jsonConsoleAppender"/>
</root>
</configuration>
- To report bugs or add feature requests, open an issue in the .
Feedback
Was this page helpful?
Glad to hear it! Please .