camel-box-kafka-connector sink configuration
Connector Description: Upload, download and manage files, folders, groups, collaborations, etc. on box.com.
When using camel-box-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-box-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.box.CamelBoxSinkConnector
The camel-box sink connector supports 37 options, which are listed below.
Name | Description | Default | Required | Priority |
---|---|---|---|---|
camel.sink.path.apiName |
What kind of operation to perform One of: [COLLABORATIONS] [COMMENTS] [EVENT_LOGS] [FILES] [FOLDERS] [GROUPS] [EVENTS] [SEARCH] [TASKS] [USERS] |
null |
true |
HIGH |
camel.sink.path.methodName |
What sub operation to use for the selected operation |
null |
true |
HIGH |
camel.sink.endpoint.clientId |
Box application client ID |
null |
false |
MEDIUM |
camel.sink.endpoint.enterpriseId |
The enterprise ID to use for an App Enterprise. |
null |
false |
MEDIUM |
camel.sink.endpoint.inBody |
Sets the name of a parameter to be passed in the exchange In Body |
null |
false |
MEDIUM |
camel.sink.endpoint.userId |
The user ID to use for an App User. |
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.httpParams |
Custom HTTP params for settings like proxy host |
null |
false |
MEDIUM |
camel.sink.endpoint.authenticationType |
The type of authentication for connection. Types of Authentication: STANDARD_AUTHENTICATION - OAuth 2.0 (3-legged) SERVER_AUTHENTICATION - OAuth 2.0 with JSON Web Tokens |
"APP_USER_AUTHENTICATION" |
false |
MEDIUM |
camel.sink.endpoint.accessTokenCache |
Custom Access Token Cache for storing and retrieving access tokens. |
null |
false |
MEDIUM |
camel.sink.endpoint.clientSecret |
Box application client secret |
null |
false |
MEDIUM |
camel.sink.endpoint.encryptionAlgorithm |
The type of encryption algorithm for JWT. Supported Algorithms: RSA_SHA_256 RSA_SHA_384 RSA_SHA_512 One of: [RSA_SHA_256] [RSA_SHA_384] [RSA_SHA_512] |
"RSA_SHA_256" |
false |
MEDIUM |
camel.sink.endpoint.maxCacheEntries |
The maximum number of access tokens in cache. |
100 |
false |
MEDIUM |
camel.sink.endpoint.privateKeyFile |
The private key for generating the JWT signature. |
null |
false |
MEDIUM |
camel.sink.endpoint.privateKeyPassword |
The password for the private key. |
null |
false |
MEDIUM |
camel.sink.endpoint.publicKeyId |
The ID for public key for validating the JWT signature. |
null |
false |
MEDIUM |
camel.sink.endpoint.sslContextParameters |
To configure security using SSLContextParameters. |
null |
false |
MEDIUM |
camel.sink.endpoint.userName |
Box user name, MUST be provided |
null |
false |
MEDIUM |
camel.sink.endpoint.userPassword |
Box user password, MUST be provided if authSecureStorage is not set, or returns null on first call |
null |
false |
MEDIUM |
camel.component.box.clientId |
Box application client ID |
null |
false |
MEDIUM |
camel.component.box.configuration |
To use the shared configuration |
null |
false |
MEDIUM |
camel.component.box.enterpriseId |
The enterprise ID to use for an App Enterprise. |
null |
false |
MEDIUM |
camel.component.box.userId |
The user ID to use for an App User. |
null |
false |
MEDIUM |
camel.component.box.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.box.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 |
camel.component.box.httpParams |
Custom HTTP params for settings like proxy host |
null |
false |
MEDIUM |
camel.component.box.authenticationType |
The type of authentication for connection. Types of Authentication: STANDARD_AUTHENTICATION - OAuth 2.0 (3-legged) SERVER_AUTHENTICATION - OAuth 2.0 with JSON Web Tokens |
"APP_USER_AUTHENTICATION" |
false |
MEDIUM |
camel.component.box.accessTokenCache |
Custom Access Token Cache for storing and retrieving access tokens. |
null |
false |
MEDIUM |
camel.component.box.clientSecret |
Box application client secret |
null |
false |
MEDIUM |
camel.component.box.encryptionAlgorithm |
The type of encryption algorithm for JWT. Supported Algorithms: RSA_SHA_256 RSA_SHA_384 RSA_SHA_512 One of: [RSA_SHA_256] [RSA_SHA_384] [RSA_SHA_512] |
"RSA_SHA_256" |
false |
MEDIUM |
camel.component.box.maxCacheEntries |
The maximum number of access tokens in cache. |
100 |
false |
MEDIUM |
camel.component.box.privateKeyFile |
The private key for generating the JWT signature. |
null |
false |
MEDIUM |
camel.component.box.privateKeyPassword |
The password for the private key. |
null |
false |
MEDIUM |
camel.component.box.publicKeyId |
The ID for public key for validating the JWT signature. |
null |
false |
MEDIUM |
camel.component.box.sslContextParameters |
To configure security using SSLContextParameters. |
null |
false |
MEDIUM |
camel.component.box.userName |
Box user name, MUST be provided |
null |
false |
MEDIUM |
camel.component.box.userPassword |
Box user password, MUST be provided if authSecureStorage is not set, or returns null on first call |
null |
false |
MEDIUM |
The camel-box sink connector has no converters out of the box.
The camel-box sink connector has no transforms out of the box.
The camel-box sink connector has no aggregation strategies out of the box.