camel-atomix-value-kafka-connector source configuration

Connector Description: Access Atomix’s distributed value.

When using camel-atomix-value-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-atomix-value-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.atomixvalue.CamelAtomixvalueSourceConnector

The camel-atomix-value source connector supports 33 options, which are listed below.

Name Description Default Priority

camel.source.path.resourceName

Required The distributed resource name.

HIGH

camel.source.endpoint.atomix

The Atomix instance to use.

MEDIUM

camel.source.endpoint.configurationUri

The Atomix configuration uri.

MEDIUM

camel.source.endpoint.defaultAction

The default action. One of: [SET] [GET] [GET_AND_SET] [COMPARE_AND_SET].

Enum values:

  • SET

  • GET

  • GET_AND_SET

  • COMPARE_AND_SET

"SET"

MEDIUM

camel.source.endpoint.nodes

The address of the nodes composing the cluster.

MEDIUM

camel.source.endpoint.resultHeader

The header that wil carry the result.

MEDIUM

camel.source.endpoint.transportClassName

The class name (fqn) of the Atomix transport.

"io.atomix.catalyst.transport.netty.NettyTransport"

MEDIUM

camel.source.endpoint.ttl

The resource ttl.

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

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.

MEDIUM

camel.source.endpoint.exchangePattern

Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut].

Enum values:

  • InOnly

  • InOut

  • InOptionalOut

MEDIUM

camel.source.endpoint.defaultResourceConfig

The cluster wide default resource configuration.

MEDIUM

camel.source.endpoint.defaultResourceOptions

The local default resource options.

MEDIUM

camel.source.endpoint.ephemeral

Sets if the local member should join groups as PersistentMember or not. If set to ephemeral the local member will receive an auto generated ID thus the local one is ignored.

false

MEDIUM

camel.source.endpoint.readConsistency

The read consistency level. One of: [ATOMIC] [ATOMIC_LEASE] [SEQUENTIAL] [LOCAL].

Enum values:

  • ATOMIC

  • ATOMIC_LEASE

  • SEQUENTIAL

  • LOCAL

MEDIUM

camel.source.endpoint.resourceConfigs

Cluster wide resources configuration.

MEDIUM

camel.source.endpoint.resourceOptions

Local resources configurations.

MEDIUM

camel.component.atomix-value.atomix

The Atomix instance to use.

MEDIUM

camel.component.atomix-value.configuration

The shared component configuration.

MEDIUM

camel.component.atomix-value.configurationUri

The path to the AtomixClient configuration.

MEDIUM

camel.component.atomix-value.defaultAction

The default action. One of: [SET] [GET] [GET_AND_SET] [COMPARE_AND_SET].

Enum values:

  • SET

  • GET

  • GET_AND_SET

  • COMPARE_AND_SET

"SET"

MEDIUM

camel.component.atomix-value.nodes

The nodes the AtomixClient should connect to.

MEDIUM

camel.component.atomix-value.resultHeader

The header that wil carry the result.

MEDIUM

camel.component.atomix-value.transportClassName

The class name (fqn) of the Atomix transport.

"io.atomix.catalyst.transport.netty.NettyTransport"

MEDIUM

camel.component.atomix-value.ttl

The resource ttl.

MEDIUM

camel.component.atomix-value.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

MEDIUM

camel.component.atomix-value.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

MEDIUM

camel.component.atomix-value.defaultResourceConfig

The cluster wide default resource configuration.

MEDIUM

camel.component.atomix-value.defaultResourceOptions

The local default resource options.

MEDIUM

camel.component.atomix-value.ephemeral

Sets if the local member should join groups as PersistentMember or not. If set to ephemeral the local member will receive an auto generated ID thus the local one is ignored.

false

MEDIUM

camel.component.atomix-value.readConsistency

The read consistency level. One of: [ATOMIC] [ATOMIC_LEASE] [SEQUENTIAL] [LOCAL].

Enum values:

  • ATOMIC

  • ATOMIC_LEASE

  • SEQUENTIAL

  • LOCAL

MEDIUM

camel.component.atomix-value.resourceConfigs

Cluster wide resources configuration.

MEDIUM

camel.component.atomix-value.resourceOptions

Local resources configurations.

MEDIUM

The camel-atomix-value source connector has no converters out of the box.

The camel-atomix-value source connector has no transforms out of the box.

The camel-atomix-value source connector has no aggregation strategies out of the box.