camel-google-sheets-source-kafka-connector source configuration
Connector Description: Receive data from Google Sheets.
When using camel-google-sheets-source-kafka-connector as source make sure to use the following Maven dependency to have support for the connector:
<dependency>
<groupId>org.apache.camel.kafkaconnector</groupId>
<artifactId>camel-google-sheets-source-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
connector.class=org.apache.camel.kafkaconnector.googlesheetssource.CamelGooglesheetssourceSourceConnector
The camel-google-sheets-source source connector supports 11 options, which are listed below.
Name | Description | Default | Priority |
---|---|---|---|
Required An index for the google sheets endpoint. |
HIGH |
||
Required The Spreadsheet ID to be used as events source. |
HIGH |
||
Required Client ID of the sheets application. |
HIGH |
||
Required Client Secret of the sheets application. |
HIGH |
||
Required OAuth 2 access token for google sheets application. This typically expires after an hour so refreshToken is recommended for long term usage. |
HIGH |
||
Required OAuth 2 refresh token for google sheets application. Using this, the Google Calendar component can obtain a new accessToken whenever the current one expires - a necessity if the application is long-lived. |
HIGH |
||
Milliseconds before the next poll. |
500 |
MEDIUM |
|
Specifies a maximum limit of number of fires. |
MEDIUM |
||
Required Google Sheets application name. |
HIGH |
||
True if value range result should be split into rows or columns to process each of them individually. |
true |
MEDIUM |
|
the range of rows and columns in a sheet to get data from. Example: A1:B3. |
MEDIUM |
The camel-google-sheets-source source connector has no converters out of the box.
The camel-google-sheets-source source connector has no transforms out of the box.
The camel-google-sheets-source source connector has no aggregation strategies out of the box.