// kafka-connector options: START
[[camel-reactive-streams-kafka-connector-source]]
= camel-reactive-streams-kafka-connector source configuration

When using camel-reactive-streams-kafka-connector as source make sure to use the following Maven dependency to have support for the connector:

[source,xml]
----
<dependency>
  <groupId>org.apache.camel.kafkaconnector</groupId>
  <artifactId>camel-reactive-streams-kafka-connector</artifactId>
  <version>x.x.x</version>
  <!-- use the same version as your Camel Kafka connector version -->
</dependency>
----

To use this Source connector in Kafka connect you'll need to set the following connector.class

[source,java]
----
connector.class=org.apache.camel.kafkaconnector.reactivestreams.CamelReactivestreamsSourceConnector
----


The camel-reactive-streams source connector supports 18 options, which are listed below.



[width="100%",cols="2,5,^1,1,1",options="header"]
|===
| Name | Description | Default | Required | Priority
| *camel.source.path.stream* | Name of the stream channel used by the endpoint to exchange messages. | null | false | MEDIUM
| *camel.source.endpoint.bridgeErrorHandler* | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | false | MEDIUM
| *camel.source.endpoint.concurrentConsumers* | Number of threads used to process exchanges in the Camel route. | 1 | false | MEDIUM
| *camel.source.endpoint.exchangesRefillLowWatermark* | Set the low watermark of requested exchanges to the active subscription as percentage of the maxInflightExchanges. When the number of pending items from the upstream source is lower than the watermark, new items can be requested to the subscription. If set to 0, the subscriber will request items in batches of maxInflightExchanges, only after all items of the previous batch have been processed. If set to 1, the subscriber can request a new item each time an exchange is processed (chatty). Any intermediate value can be used. | 0.25D | false | MEDIUM
| *camel.source.endpoint.forwardOnComplete* | Determines if onComplete events should be pushed to the Camel route. | false | false | MEDIUM
| *camel.source.endpoint.forwardOnError* | Determines if onError events should be pushed to the Camel route. Exceptions will be set as message body. | false | false | MEDIUM
| *camel.source.endpoint.maxInflightExchanges* | Maximum number of exchanges concurrently being processed by Camel. This parameter controls backpressure on the stream. Setting a non-positive value will disable backpressure. | "128" | false | MEDIUM
| *camel.source.endpoint.exceptionHandler* | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. | null | false | MEDIUM
| *camel.source.endpoint.exchangePattern* | Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut] | null | false | MEDIUM
| *camel.source.endpoint.basicPropertyBinding* | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | false | MEDIUM
| *camel.source.endpoint.synchronous* | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | false | MEDIUM
| *camel.component.reactive-streams.threadPoolMaxSize* | The maximum number of threads used by the reactive streams internal engine. | 10 | false | MEDIUM
| *camel.component.reactive-streams.threadPoolMinSize* | The minimum number of threads used by the reactive streams internal engine. | null | false | MEDIUM
| *camel.component.reactive-streams.threadPoolName* | The name of the thread pool used by the reactive streams internal engine. | "CamelReactiveStreamsWorker" | false | MEDIUM
| *camel.component.reactive-streams.bridgeError Handler* | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | false | MEDIUM
| *camel.component.reactive-streams.basicProperty Binding* | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | false | LOW
| *camel.component.reactive-streams.reactiveStreams EngineConfiguration* | To use an existing reactive stream engine configuration. | null | false | MEDIUM
| *camel.component.reactive-streams.serviceType* | Set the type of the underlying reactive streams implementation to use. The implementation is looked up from the registry or using a ServiceLoader, the default implementation is DefaultCamelReactiveStreamsService | null | false | MEDIUM
|===



The camel-reactive-streams sink connector has no converters out of the box.





The camel-reactive-streams sink connector has no transforms out of the box.





The camel-reactive-streams sink connector has no aggregation strategies out of the box.
// kafka-connector options: END
