camel-reactive-streams-kafka-connector source configuration
Connector description: Exchange messages with reactive stream processing libraries compatible with the reactive streams standard.
When using camel-reactive-streams-kafka-connector as source make sure to use the following Maven dependency to have support for the connector:
<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
connector.class=org.apache.camel.kafkaconnector.reactivestreams.CamelReactivestreamsSourceConnector
The camel-reactive-streams source connector supports 16 options, which are listed below.
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.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.autowiredEnabled |
Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. |
true |
false |
MEDIUM |
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 source connector has no converters out of the box.
The camel-reactive-streams source connector has no transforms out of the box.
The camel-reactive-streams source connector has no aggregation strategies out of the box.