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 | Required | Priority |
---|---|---|---|---|
camel.sink.path.nodeAddress |
Sets the node address used to communicate |
null |
true |
HIGH |
camel.sink.endpoint.addresses |
Contract address or a list of addresses. |
null |
false |
MEDIUM |
camel.sink.endpoint.fromAddress |
The address the transaction is send from |
null |
false |
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" |
false |
MEDIUM |
camel.sink.endpoint.fullTransactionObjects |
If true it returns the full transaction objects, if false only the hashes of the transactions. |
false |
false |
MEDIUM |
camel.sink.endpoint.gasLimit |
The maximum gas allowed in this block. |
null |
false |
MEDIUM |
camel.sink.endpoint.privateFor |
A transaction privateFor nodes with public keys in a Quorum network |
null |
false |
MEDIUM |
camel.sink.endpoint.quorumAPI |
If true, this will support Quorum API. |
false |
false |
MEDIUM |
camel.sink.endpoint.toAddress |
The address the transaction is directed to. |
null |
false |
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" |
false |
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 |
false |
MEDIUM |
camel.sink.endpoint.web3j |
The preconfigured Web3j object. |
null |
false |
MEDIUM |
camel.sink.endpoint.address |
Contract address. |
null |
false |
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" |
false |
MEDIUM |
camel.sink.endpoint.blockHash |
Hash of the block where this transaction was in. |
null |
false |
MEDIUM |
camel.sink.endpoint.clientId |
A random hexadecimal(32 bytes) ID identifying the client. |
null |
false |
MEDIUM |
camel.sink.endpoint.data |
The compiled code of a contract OR the hash of the invoked method signature and encoded parameters. |
null |
false |
MEDIUM |
camel.sink.endpoint.databaseName |
The local database name. |
null |
false |
MEDIUM |
camel.sink.endpoint.filterId |
The filter id to use. |
null |
false |
MEDIUM |
camel.sink.endpoint.gasPrice |
Gas price used for each paid gas. |
null |
false |
MEDIUM |
camel.sink.endpoint.hashrate |
A hexadecimal string representation (32 bytes) of the hash rate. |
null |
false |
MEDIUM |
camel.sink.endpoint.headerPowHash |
The header’s pow-hash (256 bits) used for submitting a proof-of-work solution. |
null |
false |
MEDIUM |
camel.sink.endpoint.index |
The transactions/uncle index position in the block. |
null |
false |
MEDIUM |
camel.sink.endpoint.keyName |
The key name in the database. |
null |
false |
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 |
false |
MEDIUM |
camel.sink.endpoint.mixDigest |
The mix digest (256 bits) used for submitting a proof-of-work solution. |
null |
false |
MEDIUM |
camel.sink.endpoint.nonce |
The nonce found (64 bits) used for submitting a proof-of-work solution. |
null |
false |
MEDIUM |
camel.sink.endpoint.operation |
Operation to use. |
"transaction" |
false |
MEDIUM |
camel.sink.endpoint.position |
The transaction index position withing a block. |
null |
false |
MEDIUM |
camel.sink.endpoint.priority |
The priority of a whisper message. |
null |
false |
MEDIUM |
camel.sink.endpoint.sha3HashOfDataToSign |
Message to sign by calculating an Ethereum specific signature. |
null |
false |
MEDIUM |
camel.sink.endpoint.signedTransactionData |
The signed transaction data for a new message call transaction or a contract creation for signed transactions. |
null |
false |
MEDIUM |
camel.sink.endpoint.sourceCode |
The source code to compile. |
null |
false |
MEDIUM |
camel.sink.endpoint.transactionHash |
The information about a transaction requested by transaction hash. |
null |
false |
MEDIUM |
camel.sink.endpoint.ttl |
The time to live in seconds of a whisper message. |
null |
false |
MEDIUM |
camel.sink.endpoint.value |
The value sent within a transaction. |
null |
false |
MEDIUM |
camel.component.web3j.addresses |
Contract address or a list of addresses. |
null |
false |
MEDIUM |
camel.component.web3j.configuration |
Default configuration |
null |
false |
MEDIUM |
camel.component.web3j.fromAddress |
The address the transaction is send from |
null |
false |
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" |
false |
MEDIUM |
camel.component.web3j.fullTransactionObjects |
If true it returns the full transaction objects, if false only the hashes of the transactions. |
false |
false |
MEDIUM |
camel.component.web3j.gasLimit |
The maximum gas allowed in this block. |
null |
false |
MEDIUM |
camel.component.web3j.privateFor |
A transaction privateFor nodes with public keys in a Quorum network |
null |
false |
MEDIUM |
camel.component.web3j.quorumAPI |
If true, this will support Quorum API. |
false |
false |
MEDIUM |
camel.component.web3j.toAddress |
The address the transaction is directed to. |
null |
false |
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" |
false |
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 |
false |
MEDIUM |
camel.component.web3j.web3j |
The preconfigured Web3j object. |
null |
false |
MEDIUM |
camel.component.web3j.address |
Contract address. |
null |
false |
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" |
false |
MEDIUM |
camel.component.web3j.blockHash |
Hash of the block where this transaction was in. |
null |
false |
MEDIUM |
camel.component.web3j.clientId |
A random hexadecimal(32 bytes) ID identifying the client. |
null |
false |
MEDIUM |
camel.component.web3j.data |
The compiled code of a contract OR the hash of the invoked method signature and encoded parameters. |
null |
false |
MEDIUM |
camel.component.web3j.databaseName |
The local database name. |
null |
false |
MEDIUM |
camel.component.web3j.filterId |
The filter id to use. |
null |
false |
MEDIUM |
camel.component.web3j.gasPrice |
Gas price used for each paid gas. |
null |
false |
MEDIUM |
camel.component.web3j.hashrate |
A hexadecimal string representation (32 bytes) of the hash rate. |
null |
false |
MEDIUM |
camel.component.web3j.headerPowHash |
The header’s pow-hash (256 bits) used for submitting a proof-of-work solution. |
null |
false |
MEDIUM |
camel.component.web3j.index |
The transactions/uncle index position in the block. |
null |
false |
MEDIUM |
camel.component.web3j.keyName |
The key name in the database. |
null |
false |
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 |
false |
MEDIUM |
camel.component.web3j.mixDigest |
The mix digest (256 bits) used for submitting a proof-of-work solution. |
null |
false |
MEDIUM |
camel.component.web3j.nonce |
The nonce found (64 bits) used for submitting a proof-of-work solution. |
null |
false |
MEDIUM |
camel.component.web3j.operation |
Operation to use. |
"transaction" |
false |
MEDIUM |
camel.component.web3j.position |
The transaction index position withing a block. |
null |
false |
MEDIUM |
camel.component.web3j.priority |
The priority of a whisper message. |
null |
false |
MEDIUM |
camel.component.web3j.sha3HashOfDataToSign |
Message to sign by calculating an Ethereum specific signature. |
null |
false |
MEDIUM |
camel.component.web3j.signedTransactionData |
The signed transaction data for a new message call transaction or a contract creation for signed transactions. |
null |
false |
MEDIUM |
camel.component.web3j.sourceCode |
The source code to compile. |
null |
false |
MEDIUM |
camel.component.web3j.transactionHash |
The information about a transaction requested by transaction hash. |
null |
false |
MEDIUM |
camel.component.web3j.ttl |
The time to live in seconds of a whisper message. |
null |
false |
MEDIUM |
camel.component.web3j.value |
The value sent within a transaction. |
null |
false |
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 |
false |
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.