camel-infinispan-embedded-kafka-connector source configuration
Connector description: Read and write from/to Infinispan distributed key/value store and data grid.
When using camel-infinispan-embedded-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-infinispan-embedded-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.infinispanembedded.CamelInfinispanembeddedSourceConnector
The camel-infinispan-embedded source connector supports 29 options, which are listed below.
Name | Description | Default | Required | Priority |
---|---|---|---|---|
camel.source.path.cacheName |
The name of the cache to use. Use current to use the existing cache name from the currently configured cached manager. Or use default for the default cache manager name. |
null |
true |
HIGH |
camel.source.endpoint.queryBuilder |
Specifies the query builder. |
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.clusteredListener |
If true, the listener will be installed for the entire cluster |
false |
false |
MEDIUM |
camel.source.endpoint.customListener |
Returns the custom listener in use, if provided |
null |
false |
MEDIUM |
camel.source.endpoint.eventTypes |
Specifies the set of event types to register by the consumer.Multiple event can be separated by comma. The possible event types are: CACHE_ENTRY_ACTIVATED, CACHE_ENTRY_PASSIVATED, CACHE_ENTRY_VISITED, CACHE_ENTRY_LOADED, CACHE_ENTRY_EVICTED, CACHE_ENTRY_CREATED, CACHE_ENTRY_REMOVED, CACHE_ENTRY_MODIFIED, TRANSACTION_COMPLETED, TRANSACTION_REGISTERED, CACHE_ENTRY_INVALIDATED, CACHE_ENTRY_EXPIRED, DATA_REHASHED, TOPOLOGY_CHANGED, PARTITION_STATUS_CHANGED, PERSISTENCE_AVAILABILITY_CHANGED |
null |
false |
MEDIUM |
camel.source.endpoint.sync |
If true, the consumer will receive notifications synchronously |
true |
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.cacheContainer |
Specifies the cache Container to connect |
null |
false |
MEDIUM |
camel.source.endpoint.cacheContainerConfiguration |
The CacheContainer configuration. Used if the cacheContainer is not defined. |
null |
false |
MEDIUM |
camel.source.endpoint.configurationUri |
An implementation specific URI for the CacheManager |
null |
false |
MEDIUM |
camel.source.endpoint.flags |
A comma separated list of org.infinispan.context.Flag to be applied by default on each cache invocation |
null |
false |
MEDIUM |
camel.source.endpoint.remappingFunction |
Set a specific remappingFunction to use in a compute operation. |
null |
false |
MEDIUM |
camel.source.endpoint.resultHeader |
Store the operation result in a header instead of the message body. By default, resultHeader == null and the query result is stored in the message body, any existing content in the message body is discarded. If resultHeader is set, the value is used as the name of the header to store the query result and the original message body is preserved. This value can be overridden by an in message header named: CamelInfinispanOperationResultHeader |
null |
false |
MEDIUM |
camel.component.infinispan-embedded.configuration |
Component configuration |
null |
false |
MEDIUM |
camel.component.infinispan-embedded.queryBuilder |
Specifies the query builder. |
null |
false |
MEDIUM |
camel.component.infinispan-embedded.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.infinispan-embedded.clustered Listener |
If true, the listener will be installed for the entire cluster |
false |
false |
MEDIUM |
camel.component.infinispan-embedded.customListener |
Returns the custom listener in use, if provided |
null |
false |
MEDIUM |
camel.component.infinispan-embedded.eventTypes |
Specifies the set of event types to register by the consumer.Multiple event can be separated by comma. The possible event types are: CACHE_ENTRY_ACTIVATED, CACHE_ENTRY_PASSIVATED, CACHE_ENTRY_VISITED, CACHE_ENTRY_LOADED, CACHE_ENTRY_EVICTED, CACHE_ENTRY_CREATED, CACHE_ENTRY_REMOVED, CACHE_ENTRY_MODIFIED, TRANSACTION_COMPLETED, TRANSACTION_REGISTERED, CACHE_ENTRY_INVALIDATED, CACHE_ENTRY_EXPIRED, DATA_REHASHED, TOPOLOGY_CHANGED, PARTITION_STATUS_CHANGED, PERSISTENCE_AVAILABILITY_CHANGED |
null |
false |
MEDIUM |
camel.component.infinispan-embedded.sync |
If true, the consumer will receive notifications synchronously |
true |
false |
MEDIUM |
camel.component.infinispan-embedded.autowired Enabled |
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.infinispan-embedded.cacheContainer |
Specifies the cache Container to connect |
null |
false |
MEDIUM |
camel.component.infinispan-embedded.cacheContainer Configuration |
The CacheContainer configuration. Used if the cacheContainer is not defined. |
null |
false |
MEDIUM |
camel.component.infinispan-embedded.configuration Uri |
An implementation specific URI for the CacheManager |
null |
false |
MEDIUM |
camel.component.infinispan-embedded.flags |
A comma separated list of org.infinispan.context.Flag to be applied by default on each cache invocation |
null |
false |
MEDIUM |
camel.component.infinispan-embedded.remapping Function |
Set a specific remappingFunction to use in a compute operation. |
null |
false |
MEDIUM |
camel.component.infinispan-embedded.resultHeader |
Store the operation result in a header instead of the message body. By default, resultHeader == null and the query result is stored in the message body, any existing content in the message body is discarded. If resultHeader is set, the value is used as the name of the header to store the query result and the original message body is preserved. This value can be overridden by an in message header named: CamelInfinispanOperationResultHeader |
null |
false |
MEDIUM |
The camel-infinispan-embedded source connector has no converters out of the box.
The camel-infinispan-embedded source connector has no transforms out of the box.
The camel-infinispan-embedded source connector has no aggregation strategies out of the box.