// kafka-connector options: START
[[camel-web3j-kafka-connector-source]]
= camel-web3j-kafka-connector source configuration

When using camel-web3j-kafka-connector as source make sure to use the following Maven dependency to have support for the connector:

[source,xml]
----
<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 Source connector in Kafka connect you'll need to set the following connector.class

[source,java]
----
connector.class=org.apache.camel.kafkaconnector.web3j.CamelWeb3jSourceConnector
----


The camel-web3j source connector supports 30 options, which are listed below.



[width="100%",cols="2,5,^1,1,1",options="header"]
|===
| Name | Description | Default | Required | Priority
| *camel.source.path.nodeAddress* | Sets the node address used to communicate | null | true | HIGH
| *camel.source.endpoint.addresses* | Contract address or a list of addresses. | null | false | MEDIUM
| *camel.source.endpoint.fromAddress* | The address the transaction is send from | null | false | MEDIUM
| *camel.source.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.source.endpoint.fullTransactionObjects* | If true it returns the full transaction objects, if false only the hashes of the transactions. | false | false | MEDIUM
| *camel.source.endpoint.gasLimit* | The maximum gas allowed in this block. | null | false | MEDIUM
| *camel.source.endpoint.privateFor* | A transaction privateFor nodes with public keys in a Quorum network | null | false | MEDIUM
| *camel.source.endpoint.quorumAPI* | If true, this will support Quorum API. | false | false | MEDIUM
| *camel.source.endpoint.toAddress* | The address the transaction is directed to. | null | false | MEDIUM
| *camel.source.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.source.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.source.endpoint.web3j* | The preconfigured Web3j object. | null | false | MEDIUM
| *camel.source.endpoint.bridgeErrorHandler* | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | false | MEDIUM
| *camel.source.endpoint.exceptionHandler* | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. | null | false | MEDIUM
| *camel.source.endpoint.exchangePattern* | Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut] | null | false | MEDIUM
| *camel.source.endpoint.synchronous* | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | 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.bridgeErrorHandler* | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | 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 source connector has no converters out of the box.





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





The camel-web3j source connector has no aggregation strategies out of the box.
// kafka-connector options: END
