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 |
---|---|---|---|
Required Sets the node address used to communicate. |
HIGH |
||
Contract address or a list of addresses. |
MEDIUM |
||
The address the transaction is send from. |
MEDIUM |
||
The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions. |
"latest" |
MEDIUM |
|
If true it returns the full transaction objects, if false only the hashes of the transactions. |
false |
MEDIUM |
|
The maximum gas allowed in this block. |
MEDIUM |
||
A transaction privateFor nodes with public keys in a Quorum network. |
MEDIUM |
||
If true, this will support Quorum API. |
false |
MEDIUM |
|
The address the transaction is directed to. |
MEDIUM |
||
The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions. |
"latest" |
MEDIUM |
|
Topics are order-dependent. Each topic can also be a list of topics. Specify multiple topics separated by comma. |
MEDIUM |
||
The preconfigured Web3j object. |
MEDIUM |
||
Contract address. |
MEDIUM |
||
The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions. |
"latest" |
MEDIUM |
|
Hash of the block where this transaction was in. |
MEDIUM |
||
A random hexadecimal(32 bytes) ID identifying the client. |
MEDIUM |
||
The compiled code of a contract OR the hash of the invoked method signature and encoded parameters. |
MEDIUM |
||
The local database name. |
MEDIUM |
||
The filter id to use. |
MEDIUM |
||
Gas price used for each paid gas. |
MEDIUM |
||
A hexadecimal string representation (32 bytes) of the hash rate. |
MEDIUM |
||
The header’s pow-hash (256 bits) used for submitting a proof-of-work solution. |
MEDIUM |
||
The transactions/uncle index position in the block. |
MEDIUM |
||
The key name in the database. |
MEDIUM |
||
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 |
|
The mix digest (256 bits) used for submitting a proof-of-work solution. |
MEDIUM |
||
The nonce found (64 bits) used for submitting a proof-of-work solution. |
MEDIUM |
||
Operation to use. |
"transaction" |
MEDIUM |
|
The transaction index position withing a block. |
MEDIUM |
||
The priority of a whisper message. |
MEDIUM |
||
Message to sign by calculating an Ethereum specific signature. |
MEDIUM |
||
The signed transaction data for a new message call transaction or a contract creation for signed transactions. |
MEDIUM |
||
The source code to compile. |
MEDIUM |
||
The information about a transaction requested by transaction hash. |
MEDIUM |
||
The time to live in seconds of a whisper message. |
MEDIUM |
||
The value sent within a transaction. |
MEDIUM |
||
Contract address or a list of addresses. |
MEDIUM |
||
Default configuration. |
MEDIUM |
||
The address the transaction is send from. |
MEDIUM |
||
The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions. |
"latest" |
MEDIUM |
|
If true it returns the full transaction objects, if false only the hashes of the transactions. |
false |
MEDIUM |
|
The maximum gas allowed in this block. |
MEDIUM |
||
A transaction privateFor nodes with public keys in a Quorum network. |
MEDIUM |
||
If true, this will support Quorum API. |
false |
MEDIUM |
|
The address the transaction is directed to. |
MEDIUM |
||
The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions. |
"latest" |
MEDIUM |
|
Topics are order-dependent. Each topic can also be a list of topics. Specify multiple topics separated by comma. |
MEDIUM |
||
The preconfigured Web3j object. |
MEDIUM |
||
Contract address. |
MEDIUM |
||
The block number, or the string latest for the last mined block or pending, earliest for not yet mined transactions. |
"latest" |
MEDIUM |
|
Hash of the block where this transaction was in. |
MEDIUM |
||
A random hexadecimal(32 bytes) ID identifying the client. |
MEDIUM |
||
The compiled code of a contract OR the hash of the invoked method signature and encoded parameters. |
MEDIUM |
||
The local database name. |
MEDIUM |
||
The filter id to use. |
MEDIUM |
||
Gas price used for each paid gas. |
MEDIUM |
||
A hexadecimal string representation (32 bytes) of the hash rate. |
MEDIUM |
||
The header’s pow-hash (256 bits) used for submitting a proof-of-work solution. |
MEDIUM |
||
The transactions/uncle index position in the block. |
MEDIUM |
||
The key name in the database. |
MEDIUM |
||
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 |
|
The mix digest (256 bits) used for submitting a proof-of-work solution. |
MEDIUM |
||
The nonce found (64 bits) used for submitting a proof-of-work solution. |
MEDIUM |
||
Operation to use. |
"transaction" |
MEDIUM |
|
The transaction index position withing a block. |
MEDIUM |
||
The priority of a whisper message. |
MEDIUM |
||
Message to sign by calculating an Ethereum specific signature. |
MEDIUM |
||
The signed transaction data for a new message call transaction or a contract creation for signed transactions. |
MEDIUM |
||
The source code to compile. |
MEDIUM |
||
The information about a transaction requested by transaction hash. |
MEDIUM |
||
The time to live in seconds of a whisper message. |
MEDIUM |
||
The value sent within a transaction. |
MEDIUM |
||
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.