camel-facebook-kafka-connector sink configuration
When using camel-facebook-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-facebook-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.facebook.CamelFacebookSinkConnector
The camel-facebook sink connector supports 132 options, which are listed below.
Name | Description | Default | Required | Priority |
---|---|---|---|---|
camel.sink.path.methodName |
What operation to perform |
null |
true |
HIGH |
camel.sink.endpoint.achievementURL |
The unique URL of the achievement |
null |
false |
MEDIUM |
camel.sink.endpoint.albumId |
The album ID |
null |
false |
MEDIUM |
camel.sink.endpoint.albumUpdate |
The facebook Album to be created or updated |
null |
false |
MEDIUM |
camel.sink.endpoint.appId |
The ID of the Facebook Application |
null |
false |
MEDIUM |
camel.sink.endpoint.center |
Location latitude and longitude |
null |
false |
MEDIUM |
camel.sink.endpoint.checkinId |
The checkin ID |
null |
false |
MEDIUM |
camel.sink.endpoint.checkinUpdate |
The checkin to be created. Deprecated, instead create a Post with an attached location |
null |
false |
LOW |
camel.sink.endpoint.clientURL |
Facebook4J API client URL |
null |
false |
MEDIUM |
camel.sink.endpoint.clientVersion |
Facebook4J client API version |
null |
false |
MEDIUM |
camel.sink.endpoint.commentId |
The comment ID |
null |
false |
MEDIUM |
camel.sink.endpoint.commentUpdate |
The facebook Comment to be created or updated |
null |
false |
MEDIUM |
camel.sink.endpoint.debugEnabled |
Enables deubg output. Effective only with the embedded logger |
"false" |
false |
MEDIUM |
camel.sink.endpoint.description |
The description text |
null |
false |
MEDIUM |
camel.sink.endpoint.distance |
Distance in meters |
null |
false |
MEDIUM |
camel.sink.endpoint.domainId |
The domain ID |
null |
false |
MEDIUM |
camel.sink.endpoint.domainName |
The domain name |
null |
false |
MEDIUM |
camel.sink.endpoint.domainNames |
The domain names |
null |
false |
MEDIUM |
camel.sink.endpoint.eventId |
The event ID |
null |
false |
MEDIUM |
camel.sink.endpoint.eventUpdate |
The event to be created or updated |
null |
false |
MEDIUM |
camel.sink.endpoint.friendId |
The friend ID |
null |
false |
MEDIUM |
camel.sink.endpoint.friendlistId |
The friend list ID |
null |
false |
MEDIUM |
camel.sink.endpoint.friendlistName |
The friend list Name |
null |
false |
MEDIUM |
camel.sink.endpoint.friendUserId |
The friend user ID |
null |
false |
MEDIUM |
camel.sink.endpoint.groupId |
The group ID |
null |
false |
MEDIUM |
camel.sink.endpoint.gzipEnabled |
Use Facebook GZIP encoding |
"true" |
false |
MEDIUM |
camel.sink.endpoint.httpConnectionTimeout |
Http connection timeout in milliseconds |
"20000" |
false |
MEDIUM |
camel.sink.endpoint.httpDefaultMaxPerRoute |
HTTP maximum connections per route |
"2" |
false |
MEDIUM |
camel.sink.endpoint.httpMaxTotalConnections |
HTTP maximum total connections |
"20" |
false |
MEDIUM |
camel.sink.endpoint.httpReadTimeout |
Http read timeout in milliseconds |
"120000" |
false |
MEDIUM |
camel.sink.endpoint.httpRetryCount |
Number of HTTP retries |
"0" |
false |
MEDIUM |
camel.sink.endpoint.httpRetryIntervalSeconds |
HTTP retry interval in seconds |
"5" |
false |
MEDIUM |
camel.sink.endpoint.httpStreamingReadTimeout |
HTTP streaming read timeout in milliseconds |
"40000" |
false |
MEDIUM |
camel.sink.endpoint.ids |
The ids of users |
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.includeRead |
Enables notifications that the user has already read in addition to unread ones |
null |
false |
MEDIUM |
camel.sink.endpoint.isHidden |
Whether hidden |
null |
false |
MEDIUM |
camel.sink.endpoint.jsonStoreEnabled |
If set to true, raw JSON forms will be stored in DataObjectFactory |
"false" |
false |
MEDIUM |
camel.sink.endpoint.link |
Link URL |
null |
false |
MEDIUM |
camel.sink.endpoint.linkId |
Link ID |
null |
false |
MEDIUM |
camel.sink.endpoint.locale |
Desired FQL locale |
null |
false |
MEDIUM |
camel.sink.endpoint.mbeanEnabled |
If set to true, Facebook4J mbean will be registerd |
"false" |
false |
MEDIUM |
camel.sink.endpoint.message |
The message text |
null |
false |
MEDIUM |
camel.sink.endpoint.messageId |
The message ID |
null |
false |
MEDIUM |
camel.sink.endpoint.metric |
The metric name |
null |
false |
MEDIUM |
camel.sink.endpoint.milestoneId |
The milestone id |
null |
false |
MEDIUM |
camel.sink.endpoint.name |
Test user name, must be of the form 'first last' |
null |
false |
MEDIUM |
camel.sink.endpoint.noteId |
The note ID |
null |
false |
MEDIUM |
camel.sink.endpoint.notificationId |
The notification ID |
null |
false |
MEDIUM |
camel.sink.endpoint.objectId |
The insight object ID |
null |
false |
MEDIUM |
camel.sink.endpoint.offerId |
The offer id |
null |
false |
MEDIUM |
camel.sink.endpoint.optionDescription |
The question’s answer option description |
null |
false |
MEDIUM |
camel.sink.endpoint.pageId |
The page id |
null |
false |
MEDIUM |
camel.sink.endpoint.permissionName |
The permission name |
null |
false |
MEDIUM |
camel.sink.endpoint.permissions |
Test user permissions in the format perm1,perm2,… |
null |
false |
MEDIUM |
camel.sink.endpoint.photoId |
The photo ID |
null |
false |
MEDIUM |
camel.sink.endpoint.pictureId |
The picture id |
null |
false |
MEDIUM |
camel.sink.endpoint.pictureId2 |
The picture2 id |
null |
false |
MEDIUM |
camel.sink.endpoint.pictureSize |
The picture size One of: [square] [small] [normal] [large] [thumbnail] [album] |
null |
false |
MEDIUM |
camel.sink.endpoint.placeId |
The place ID |
null |
false |
MEDIUM |
camel.sink.endpoint.postId |
The post ID |
null |
false |
MEDIUM |
camel.sink.endpoint.postUpdate |
The post to create or update |
null |
false |
MEDIUM |
camel.sink.endpoint.prettyDebugEnabled |
Prettify JSON debug output if set to true |
"false" |
false |
MEDIUM |
camel.sink.endpoint.queries |
FQL queries |
null |
false |
MEDIUM |
camel.sink.endpoint.query |
FQL query or search terms for search endpoints |
null |
false |
MEDIUM |
camel.sink.endpoint.questionId |
The question id |
null |
false |
MEDIUM |
camel.sink.endpoint.reading |
Optional reading parameters. See Reading Options(#reading) |
null |
false |
MEDIUM |
camel.sink.endpoint.readingOptions |
To configure Reading using key/value pairs from the Map. |
null |
false |
MEDIUM |
camel.sink.endpoint.restBaseURL |
API base URL |
"https://graph.facebook.com/" |
false |
MEDIUM |
camel.sink.endpoint.scoreValue |
The numeric score with value |
null |
false |
MEDIUM |
camel.sink.endpoint.size |
The picture size, one of large, normal, small or square One of: [square] [small] [normal] [large] [thumbnail] [album] |
null |
false |
MEDIUM |
camel.sink.endpoint.source |
The media content from either a java.io.File or java.io.Inputstream |
null |
false |
MEDIUM |
camel.sink.endpoint.subject |
The note of the subject |
null |
false |
MEDIUM |
camel.sink.endpoint.tabId |
The tab id |
null |
false |
MEDIUM |
camel.sink.endpoint.tagUpdate |
Photo tag information |
null |
false |
MEDIUM |
camel.sink.endpoint.testUser1 |
Test user 1 |
null |
false |
MEDIUM |
camel.sink.endpoint.testUser2 |
Test user 2 |
null |
false |
MEDIUM |
camel.sink.endpoint.testUserId |
The ID of the test user |
null |
false |
MEDIUM |
camel.sink.endpoint.title |
The title text |
null |
false |
MEDIUM |
camel.sink.endpoint.toUserId |
The ID of the user to tag |
null |
false |
MEDIUM |
camel.sink.endpoint.toUserIds |
The IDs of the users to tag |
null |
false |
MEDIUM |
camel.sink.endpoint.userId |
The Facebook user ID |
null |
false |
MEDIUM |
camel.sink.endpoint.userId1 |
The ID of a user 1 |
null |
false |
MEDIUM |
camel.sink.endpoint.userId2 |
The ID of a user 2 |
null |
false |
MEDIUM |
camel.sink.endpoint.userIds |
The IDs of users to invite to event |
null |
false |
MEDIUM |
camel.sink.endpoint.userLocale |
The test user locale |
null |
false |
MEDIUM |
camel.sink.endpoint.useSSL |
Use SSL |
"true" |
false |
MEDIUM |
camel.sink.endpoint.videoBaseURL |
Video API base URL |
"https://graph-video.facebook.com/" |
false |
MEDIUM |
camel.sink.endpoint.videoId |
The video ID |
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.basicPropertyBinding |
Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities |
false |
false |
MEDIUM |
camel.sink.endpoint.synchronous |
Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). |
false |
false |
MEDIUM |
camel.sink.endpoint.httpProxyHost |
HTTP proxy server host name |
null |
false |
MEDIUM |
camel.sink.endpoint.httpProxyPassword |
HTTP proxy server password |
null |
false |
MEDIUM |
camel.sink.endpoint.httpProxyPort |
HTTP proxy server port |
null |
false |
MEDIUM |
camel.sink.endpoint.httpProxyUser |
HTTP proxy server user name |
null |
false |
MEDIUM |
camel.sink.endpoint.oAuthAccessToken |
The user access token |
null |
false |
MEDIUM |
camel.sink.endpoint.oAuthAccessTokenURL |
OAuth access token URL |
"https://graph.facebook.com/oauth/access_token" |
false |
MEDIUM |
camel.sink.endpoint.oAuthAppId |
The application Id |
null |
false |
MEDIUM |
camel.sink.endpoint.oAuthAppSecret |
The application Secret |
null |
false |
MEDIUM |
camel.sink.endpoint.oAuthAuthorizationURL |
OAuth authorization URL |
"https://www.facebook.com/dialog/oauth" |
false |
MEDIUM |
camel.sink.endpoint.oAuthPermissions |
Default OAuth permissions. Comma separated permission names. See https://developers.facebook.com/docs/reference/login/#permissions for the detail |
null |
false |
MEDIUM |
camel.component.facebook.clientURL |
Facebook4J API client URL |
null |
false |
MEDIUM |
camel.component.facebook.clientVersion |
Facebook4J client API version |
null |
false |
MEDIUM |
camel.component.facebook.debugEnabled |
Enables deubg output. Effective only with the embedded logger |
"false" |
false |
MEDIUM |
camel.component.facebook.gzipEnabled |
Use Facebook GZIP encoding |
"true" |
false |
MEDIUM |
camel.component.facebook.httpConnectionTimeout |
Http connection timeout in milliseconds |
"20000" |
false |
MEDIUM |
camel.component.facebook.httpDefaultMaxPerRoute |
HTTP maximum connections per route |
"2" |
false |
MEDIUM |
camel.component.facebook.httpMaxTotalConnections |
HTTP maximum total connections |
"20" |
false |
MEDIUM |
camel.component.facebook.httpReadTimeout |
Http read timeout in milliseconds |
"120000" |
false |
MEDIUM |
camel.component.facebook.httpRetryCount |
Number of HTTP retries |
"0" |
false |
MEDIUM |
camel.component.facebook.httpRetryIntervalSeconds |
HTTP retry interval in seconds |
"5" |
false |
MEDIUM |
camel.component.facebook.httpStreamingReadTimeout |
HTTP streaming read timeout in milliseconds |
"40000" |
false |
MEDIUM |
camel.component.facebook.jsonStoreEnabled |
If set to true, raw JSON forms will be stored in DataObjectFactory |
"false" |
false |
MEDIUM |
camel.component.facebook.mbeanEnabled |
If set to true, Facebook4J mbean will be registerd |
"false" |
false |
MEDIUM |
camel.component.facebook.prettyDebugEnabled |
Prettify JSON debug output if set to true |
"false" |
false |
MEDIUM |
camel.component.facebook.restBaseURL |
API base URL |
"https://graph.facebook.com/" |
false |
MEDIUM |
camel.component.facebook.useSSL |
Use SSL |
"true" |
false |
MEDIUM |
camel.component.facebook.videoBaseURL |
Video API base URL |
"https://graph-video.facebook.com/" |
false |
MEDIUM |
camel.component.facebook.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.facebook.basicPropertyBinding |
Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities |
false |
false |
LOW |
camel.component.facebook.configuration |
To use the shared configuration |
null |
false |
MEDIUM |
camel.component.facebook.httpProxyHost |
HTTP proxy server host name |
null |
false |
MEDIUM |
camel.component.facebook.httpProxyPassword |
HTTP proxy server password |
null |
false |
MEDIUM |
camel.component.facebook.httpProxyPort |
HTTP proxy server port |
null |
false |
MEDIUM |
camel.component.facebook.httpProxyUser |
HTTP proxy server user name |
null |
false |
MEDIUM |
camel.component.facebook.oAuthAccessToken |
The user access token |
null |
false |
MEDIUM |
camel.component.facebook.oAuthAccessTokenURL |
OAuth access token URL |
"https://graph.facebook.com/oauth/access_token" |
false |
MEDIUM |
camel.component.facebook.oAuthAppId |
The application Id |
null |
false |
MEDIUM |
camel.component.facebook.oAuthAppSecret |
The application Secret |
null |
false |
MEDIUM |
camel.component.facebook.oAuthAuthorizationURL |
OAuth authorization URL |
"https://www.facebook.com/dialog/oauth" |
false |
MEDIUM |
camel.component.facebook.oAuthPermissions |
Default OAuth permissions. Comma separated permission names. See https://developers.facebook.com/docs/reference/login/#permissions for the detail |
null |
false |
MEDIUM |
The camel-facebook sink connector has no converters out of the box.
The camel-facebook sink connector has no transforms out of the box.
The camel-facebook sink connector has no aggregation strategies out of the box.