camel-atomix-map-kafka-connector sink configuration

Connector Description: Access Atomix’s distributed map.

When using camel-atomix-map-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector:

<dependency>
  <groupId>org.apache.camel.kafkaconnector</groupId>
  <artifactId>camel-atomix-map-kafka-connector</artifactId>
  <version>x.x.x</version>
  <!-- use the same version as your Camel Kafka connector version -->
</dependency>

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

connector.class=org.apache.camel.kafkaconnector.atomixmap.CamelAtomixmapSinkConnector

The camel-atomix-map sink connector supports 33 options, which are listed below.

Name Description Default Priority

camel.sink.path.resourceName

Required The distributed resource name.

HIGH

camel.sink.endpoint.atomix

The Atomix instance to use.

MEDIUM

camel.sink.endpoint.configurationUri

The Atomix configuration uri.

MEDIUM

camel.sink.endpoint.defaultAction

The default action. One of: [PUT] [PUT_IF_ABSENT] [GET] [CLEAR] [SIZE] [CONTAINS_KEY] [CONTAINS_VALUE] [IS_EMPTY] [ENTRY_SET] [REMOVE] [REPLACE] [VALUES].

Enum values:

  • PUT

  • PUT_IF_ABSENT

  • GET

  • CLEAR

  • SIZE

  • CONTAINS_KEY

  • CONTAINS_VALUE

  • IS_EMPTY

  • ENTRY_SET

  • REMOVE

  • REPLACE

  • VALUES

"PUT"

MEDIUM

camel.sink.endpoint.key

The key to use if none is set in the header or to listen for events for a specific key.

MEDIUM

camel.sink.endpoint.nodes

The address of the nodes composing the cluster.

MEDIUM

camel.sink.endpoint.resultHeader

The header that wil carry the result.

MEDIUM

camel.sink.endpoint.transportClassName

The class name (fqn) of the Atomix transport.

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

MEDIUM

camel.sink.endpoint.ttl

The resource ttl.

MEDIUM

camel.sink.endpoint.lazyStartProducer

Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel’s routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing.

false

MEDIUM

camel.sink.endpoint.defaultResourceConfig

The cluster wide default resource configuration.

MEDIUM

camel.sink.endpoint.defaultResourceOptions

The local default resource options.

MEDIUM

camel.sink.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.sink.endpoint.readConsistency

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

Enum values:

  • ATOMIC

  • ATOMIC_LEASE

  • SEQUENTIAL

  • LOCAL

MEDIUM

camel.sink.endpoint.resourceConfigs

Cluster wide resources configuration.

MEDIUM

camel.sink.endpoint.resourceOptions

Local resources configurations.

MEDIUM

camel.component.atomix-map.atomix

The Atomix instance to use.

MEDIUM

camel.component.atomix-map.configuration

The shared component configuration.

MEDIUM

camel.component.atomix-map.configurationUri

The path to the AtomixClient configuration.

MEDIUM

camel.component.atomix-map.defaultAction

The default action. One of: [PUT] [PUT_IF_ABSENT] [GET] [CLEAR] [SIZE] [CONTAINS_KEY] [CONTAINS_VALUE] [IS_EMPTY] [ENTRY_SET] [REMOVE] [REPLACE] [VALUES].

Enum values:

  • PUT

  • PUT_IF_ABSENT

  • GET

  • CLEAR

  • SIZE

  • CONTAINS_KEY

  • CONTAINS_VALUE

  • IS_EMPTY

  • ENTRY_SET

  • REMOVE

  • REPLACE

  • VALUES

"PUT"

MEDIUM

camel.component.atomix-map.key

The key to use if none is set in the header or to listen for events for a specific key.

MEDIUM

camel.component.atomix-map.nodes

The nodes the AtomixClient should connect to.

MEDIUM

camel.component.atomix-map.resultHeader

The header that wil carry the result.

MEDIUM

camel.component.atomix-map.transportClassName

The class name (fqn) of the Atomix transport.

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

MEDIUM

camel.component.atomix-map.ttl

The resource ttl.

MEDIUM

camel.component.atomix-map.lazyStartProducer

Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel’s routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing.

false

MEDIUM

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

The cluster wide default resource configuration.

MEDIUM

camel.component.atomix-map.defaultResourceOptions

The local default resource options.

MEDIUM

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

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

Enum values:

  • ATOMIC

  • ATOMIC_LEASE

  • SEQUENTIAL

  • LOCAL

MEDIUM

camel.component.atomix-map.resourceConfigs

Cluster wide resources configuration.

MEDIUM

camel.component.atomix-map.resourceOptions

Local resources configurations.

MEDIUM

The camel-atomix-map sink connector has no converters out of the box.

The camel-atomix-map sink connector has no transforms out of the box.

The camel-atomix-map sink connector has no aggregation strategies out of the box.