camel-web3j-kafka-connector sink configuration
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 75 options, which are listed below.
Name | Description | Default | Priority |
---|---|---|---|
camel.sink.path.nodeAddress |
Sets the node address used to communicate |
null |
HIGH |
camel.sink.endpoint.addresses |
Contract address or a list of addresses. |
null |
MEDIUM |
camel.sink.endpoint.fromAddress |
The address the transaction is send from |
null |
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. |
null |
MEDIUM |
camel.sink.endpoint.privateFor |
A transaction privateFor nodes with public keys in a Quorum network |
null |
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. |
null |
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. |
null |
MEDIUM |
camel.sink.endpoint.web3j |
The preconfigured Web3j object. |
null |
MEDIUM |
camel.sink.endpoint.address |
Contract address. |
null |
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. |
null |
MEDIUM |
camel.sink.endpoint.clientId |
A random hexadecimal(32 bytes) ID identifying the client. |
null |
MEDIUM |
camel.sink.endpoint.data |
The compiled code of a contract OR the hash of the invoked method signature and encoded parameters. |
null |
MEDIUM |
camel.sink.endpoint.databaseName |
The local database name. |
null |
MEDIUM |
camel.sink.endpoint.filterId |
The filter id to use. |
null |
MEDIUM |
camel.sink.endpoint.gasPrice |
Gas price used for each paid gas. |
null |
MEDIUM |
camel.sink.endpoint.hashrate |
A hexadecimal string representation (32 bytes) of the hash rate. |
null |
MEDIUM |
camel.sink.endpoint.headerPowHash |
The header’s pow-hash (256 bits) used for submitting a proof-of-work solution. |
null |
MEDIUM |
camel.sink.endpoint.index |
The transactions/uncle index position in the block. |
null |
MEDIUM |
camel.sink.endpoint.keyName |
The key name in the database. |
null |
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. |
null |
MEDIUM |
camel.sink.endpoint.nonce |
The nonce found (64 bits) used for submitting a proof-of-work solution. |
null |
MEDIUM |
camel.sink.endpoint.operation |
Operation to use. |
"transaction" |
MEDIUM |
camel.sink.endpoint.position |
The transaction index position withing a block. |
null |
MEDIUM |
camel.sink.endpoint.priority |
The priority of a whisper message. |
null |
MEDIUM |
camel.sink.endpoint.sha3HashOfDataToSign |
Message to sign by calculating an Ethereum specific signature. |
null |
MEDIUM |
camel.sink.endpoint.signedTransactionData |
The signed transaction data for a new message call transaction or a contract creation for signed transactions. |
null |
MEDIUM |
camel.sink.endpoint.sourceCode |
The source code to compile. |
null |
MEDIUM |
camel.sink.endpoint.transactionHash |
The information about a transaction requested by transaction hash. |
null |
MEDIUM |
camel.sink.endpoint.ttl |
The time to live in seconds of a whisper message. |
null |
MEDIUM |
camel.sink.endpoint.value |
The value sent within a transaction. |
null |
MEDIUM |
camel.sink.endpoint.basicPropertyBinding |
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities |
false |
MEDIUM |
camel.sink.endpoint.synchronous |
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). |
false |
MEDIUM |
camel.component.web3j.addresses |
Contract address or a list of addresses. |
null |
MEDIUM |
camel.component.web3j.configuration |
Default configuration |
null |
MEDIUM |
camel.component.web3j.fromAddress |
The address the transaction is send from |
null |
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. |
null |
MEDIUM |
camel.component.web3j.privateFor |
A transaction privateFor nodes with public keys in a Quorum network |
null |
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. |
null |
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. |
null |
MEDIUM |
camel.component.web3j.web3j |
The preconfigured Web3j object. |
null |
MEDIUM |
camel.component.web3j.address |
Contract address. |
null |
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. |
null |
MEDIUM |
camel.component.web3j.clientId |
A random hexadecimal(32 bytes) ID identifying the client. |
null |
MEDIUM |
camel.component.web3j.data |
The compiled code of a contract OR the hash of the invoked method signature and encoded parameters. |
null |
MEDIUM |
camel.component.web3j.databaseName |
The local database name. |
null |
MEDIUM |
camel.component.web3j.filterId |
The filter id to use. |
null |
MEDIUM |
camel.component.web3j.gasPrice |
Gas price used for each paid gas. |
null |
MEDIUM |
camel.component.web3j.hashrate |
A hexadecimal string representation (32 bytes) of the hash rate. |
null |
MEDIUM |
camel.component.web3j.headerPowHash |
The header’s pow-hash (256 bits) used for submitting a proof-of-work solution. |
null |
MEDIUM |
camel.component.web3j.index |
The transactions/uncle index position in the block. |
null |
MEDIUM |
camel.component.web3j.keyName |
The key name in the database. |
null |
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. |
null |
MEDIUM |
camel.component.web3j.nonce |
The nonce found (64 bits) used for submitting a proof-of-work solution. |
null |
MEDIUM |
camel.component.web3j.operation |
Operation to use. |
"transaction" |
MEDIUM |
camel.component.web3j.position |
The transaction index position withing a block. |
null |
MEDIUM |
camel.component.web3j.priority |
The priority of a whisper message. |
null |
MEDIUM |
camel.component.web3j.sha3HashOfDataToSign |
Message to sign by calculating an Ethereum specific signature. |
null |
MEDIUM |
camel.component.web3j.signedTransactionData |
The signed transaction data for a new message call transaction or a contract creation for signed transactions. |
null |
MEDIUM |
camel.component.web3j.sourceCode |
The source code to compile. |
null |
MEDIUM |
camel.component.web3j.transactionHash |
The information about a transaction requested by transaction hash. |
null |
MEDIUM |
camel.component.web3j.ttl |
The time to live in seconds of a whisper message. |
null |
MEDIUM |
camel.component.web3j.value |
The value sent within a transaction. |
null |
MEDIUM |
camel.component.web3j.basicPropertyBinding |
Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities |
false |
MEDIUM |