camel-web3j-kafka-connector sink configuration

Connector Description: Interact with Ethereum nodes using web3j client API.

When using camel-web3j-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-web3j-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.web3j.CamelWeb3jSinkConnector

The camel-web3j sink connector supports 73 options, which are listed below.

Name Description Default Priority

camel.sink.path.nodeAddress

Required Sets the node address used to communicate.

HIGH

camel.sink.endpoint.addresses

Contract address or a list of addresses.

MEDIUM

camel.sink.endpoint.fromAddress

The address the transaction is send from.

MEDIUM

camel.sink.endpoint.fromBlock

The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.

"latest"

MEDIUM

camel.sink.endpoint.fullTransactionObjects

If true it returns the full transaction objects, if false only the hashes of the transactions.

false

MEDIUM

camel.sink.endpoint.gasLimit

The maximum gas allowed in this block.

MEDIUM

camel.sink.endpoint.privateFor

A transaction privateFor nodes with public keys in a Quorum network.

MEDIUM

camel.sink.endpoint.quorumAPI

If true, this will support Quorum API.

false

MEDIUM

camel.sink.endpoint.toAddress

The address the transaction is directed to.

MEDIUM

camel.sink.endpoint.toBlock

The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.

"latest"

MEDIUM

camel.sink.endpoint.topics

Topics are order-dependent. Each topic can also be a list of topics. Specify multiple topics separated by comma.

MEDIUM

camel.sink.endpoint.web3j

The preconfigured Web3j object.

MEDIUM

camel.sink.endpoint.address

Contract address.

MEDIUM

camel.sink.endpoint.atBlock

The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.

"latest"

MEDIUM

camel.sink.endpoint.blockHash

Hash of the block where this transaction was in.

MEDIUM

camel.sink.endpoint.clientId

A random hexadecimal(32 bytes) ID identifying the client.

MEDIUM

camel.sink.endpoint.data

The compiled code of a contract OR the hash of the invoked method signature and encoded parameters.

MEDIUM

camel.sink.endpoint.databaseName

The local database name.

MEDIUM

camel.sink.endpoint.filterId

The filter id to use.

MEDIUM

camel.sink.endpoint.gasPrice

Gas price used for each paid gas.

MEDIUM

camel.sink.endpoint.hashrate

A hexadecimal string representation (32 bytes) of the hash rate.

MEDIUM

camel.sink.endpoint.headerPowHash

The header’s pow-hash (256 bits) used for submitting a proof-of-work solution.

MEDIUM

camel.sink.endpoint.index

The transactions/uncle index position in the block.

MEDIUM

camel.sink.endpoint.keyName

The key name in the database.

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.mixDigest

The mix digest (256 bits) used for submitting a proof-of-work solution.

MEDIUM

camel.sink.endpoint.nonce

The nonce found (64 bits) used for submitting a proof-of-work solution.

MEDIUM

camel.sink.endpoint.operation

Operation to use.

"transaction"

MEDIUM

camel.sink.endpoint.position

The transaction index position withing a block.

MEDIUM

camel.sink.endpoint.priority

The priority of a whisper message.

MEDIUM

camel.sink.endpoint.sha3HashOfDataToSign

Message to sign by calculating an Ethereum specific signature.

MEDIUM

camel.sink.endpoint.signedTransactionData

The signed transaction data for a new message call transaction or a contract creation for signed transactions.

MEDIUM

camel.sink.endpoint.sourceCode

The source code to compile.

MEDIUM

camel.sink.endpoint.transactionHash

The information about a transaction requested by transaction hash.

MEDIUM

camel.sink.endpoint.ttl

The time to live in seconds of a whisper message.

MEDIUM

camel.sink.endpoint.value

The value sent within a transaction.

MEDIUM

camel.component.web3j.addresses

Contract address or a list of addresses.

MEDIUM

camel.component.web3j.configuration

Default configuration.

MEDIUM

camel.component.web3j.fromAddress

The address the transaction is send from.

MEDIUM

camel.component.web3j.fromBlock

The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.

"latest"

MEDIUM

camel.component.web3j.fullTransactionObjects

If true it returns the full transaction objects, if false only the hashes of the transactions.

false

MEDIUM

camel.component.web3j.gasLimit

The maximum gas allowed in this block.

MEDIUM

camel.component.web3j.privateFor

A transaction privateFor nodes with public keys in a Quorum network.

MEDIUM

camel.component.web3j.quorumAPI

If true, this will support Quorum API.

false

MEDIUM

camel.component.web3j.toAddress

The address the transaction is directed to.

MEDIUM

camel.component.web3j.toBlock

The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.

"latest"

MEDIUM

camel.component.web3j.topics

Topics are order-dependent. Each topic can also be a list of topics. Specify multiple topics separated by comma.

MEDIUM

camel.component.web3j.web3j

The preconfigured Web3j object.

MEDIUM

camel.component.web3j.address

Contract address.

MEDIUM

camel.component.web3j.atBlock

The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions.

"latest"

MEDIUM

camel.component.web3j.blockHash

Hash of the block where this transaction was in.

MEDIUM

camel.component.web3j.clientId

A random hexadecimal(32 bytes) ID identifying the client.

MEDIUM

camel.component.web3j.data

The compiled code of a contract OR the hash of the invoked method signature and encoded parameters.

MEDIUM

camel.component.web3j.databaseName

The local database name.

MEDIUM

camel.component.web3j.filterId

The filter id to use.

MEDIUM

camel.component.web3j.gasPrice

Gas price used for each paid gas.

MEDIUM

camel.component.web3j.hashrate

A hexadecimal string representation (32 bytes) of the hash rate.

MEDIUM

camel.component.web3j.headerPowHash

The header’s pow-hash (256 bits) used for submitting a proof-of-work solution.

MEDIUM

camel.component.web3j.index

The transactions/uncle index position in the block.

MEDIUM

camel.component.web3j.keyName

The key name in the database.

MEDIUM

camel.component.web3j.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.web3j.mixDigest

The mix digest (256 bits) used for submitting a proof-of-work solution.

MEDIUM

camel.component.web3j.nonce

The nonce found (64 bits) used for submitting a proof-of-work solution.

MEDIUM

camel.component.web3j.operation

Operation to use.

"transaction"

MEDIUM

camel.component.web3j.position

The transaction index position withing a block.

MEDIUM

camel.component.web3j.priority

The priority of a whisper message.

MEDIUM

camel.component.web3j.sha3HashOfDataToSign

Message to sign by calculating an Ethereum specific signature.

MEDIUM

camel.component.web3j.signedTransactionData

The signed transaction data for a new message call transaction or a contract creation for signed transactions.

MEDIUM

camel.component.web3j.sourceCode

The source code to compile.

MEDIUM

camel.component.web3j.transactionHash

The information about a transaction requested by transaction hash.

MEDIUM

camel.component.web3j.ttl

The time to live in seconds of a whisper message.

MEDIUM

camel.component.web3j.value

The value sent within a transaction.

MEDIUM

camel.component.web3j.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

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

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

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