// Do not edit directly!
// This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page
[id="extensions-kafka"]
= Kafka
:page-aliases: extensions/kafka.adoc
:linkattrs:
:cq-artifact-id: camel-quarkus-kafka
:cq-native-supported: true
:cq-status: Stable
:cq-status-deprecation: Stable
:cq-description: Send and receive messages to/from an Apache Kafka broker.
:cq-deprecated: false
:cq-jvm-since: 1.0.0
:cq-native-since: 1.0.0

ifeval::[{doc-show-badges} == true]
[.badges]
[.badge-key]##JVM since##[.badge-supported]##1.0.0## [.badge-key]##Native since##[.badge-supported]##1.0.0##
endif::[]

Send and receive messages to/from an Apache Kafka broker.

[id="extensions-kafka-whats-inside"]
== What's inside

* xref:{cq-camel-components}::kafka-component.adoc[Kafka component], URI syntax: `kafka:topic`

Please refer to the above link for usage and configuration details.

[id="extensions-kafka-maven-coordinates"]
== Maven coordinates

https://{link-quarkus-code-generator}/?extension-search=camel-quarkus-kafka[Create a new project with this extension on {link-quarkus-code-generator}, window="_blank"]

Or add the coordinates to your existing project:

[source,xml]
----
<dependency>
    <groupId>org.apache.camel.quarkus</groupId>
    <artifactId>camel-quarkus-kafka</artifactId>
</dependency>
----
ifeval::[{doc-show-user-guide-link} == true]
Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.
endif::[]

[id="extensions-kafka-usage"]
== Usage
[id="extensions-kafka-usage-quarkus-kafka-dev-services"]
=== Quarkus Kafka Dev Services

Camel Quarkus Kafka can take advantage of https://quarkus.io/guides/kafka-dev-services[Quarkus Kafka Dev services] to simplify development and testing with a local containerized Kafka broker.

Kafka Dev Services is enabled by default in dev & test mode.
The Camel Kafka component is automatically configured so that the `brokers` component option is set to point at the local containerized Kafka broker.
Meaning that there's no need to configure this option yourself.

This functionality can be disabled with the configuration property `quarkus.kafka.devservices.enabled=false`.


[id="extensions-kafka-additional-camel-quarkus-configuration"]
== Additional Camel Quarkus configuration

[width="100%",cols="80,5,15",options="header"]
|===
| Configuration property | Type | Default


a| [[quarkus-camel-kafka-kubernetes-service-binding-merge-configuration]]`link:#quarkus-camel-kafka-kubernetes-service-binding-merge-configuration[quarkus.camel.kafka.kubernetes-service-binding.merge-configuration]`

If `true` then any Kafka configuration properties discovered by the Quarkus Kubernetes Service Binding extension (if
configured) will be merged with those set via Camel Kafka component or endpoint options. If `false` then any Kafka
configuration properties discovered by the Quarkus Kubernetes Service Binding extension are ignored, and all of the
Kafka component configuration is driven by Camel.
| `boolean`
| `true`
|===

[.configuration-legend]
{doc-link-icon-lock}[title=Fixed at build time] Configuration property fixed at build time. All other configuration properties are overridable at runtime.

