camel-facebook-kafka-connector sink configuration

Connector Description: Send requests to Facebook APIs supported by Facebook4J.

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 130 options, which are listed below.

Name Description Default Priority

camel.sink.path.methodName

Required What operation to perform.

HIGH

camel.sink.endpoint.achievementURL

The unique URL of the achievement.

MEDIUM

camel.sink.endpoint.albumId

The album ID.

MEDIUM

camel.sink.endpoint.albumUpdate

The facebook Album to be created or updated.

MEDIUM

camel.sink.endpoint.appId

The ID of the Facebook Application.

MEDIUM

camel.sink.endpoint.center

Location latitude and longitude.

MEDIUM

camel.sink.endpoint.checkinId

The checkin ID.

MEDIUM

camel.sink.endpoint.checkinUpdate

The checkin to be created. Deprecated, instead create a Post with an attached location.

LOW

camel.sink.endpoint.clientURL

Facebook4J API client URL.

MEDIUM

camel.sink.endpoint.clientVersion

Facebook4J client API version.

MEDIUM

camel.sink.endpoint.commentId

The comment ID.

MEDIUM

camel.sink.endpoint.commentUpdate

The facebook Comment to be created or updated.

MEDIUM

camel.sink.endpoint.debugEnabled

Enables deubg output. Effective only with the embedded logger.

"false"

MEDIUM

camel.sink.endpoint.description

The description text.

MEDIUM

camel.sink.endpoint.distance

Distance in meters.

MEDIUM

camel.sink.endpoint.domainId

The domain ID.

MEDIUM

camel.sink.endpoint.domainName

The domain name.

MEDIUM

camel.sink.endpoint.domainNames

The domain names.

MEDIUM

camel.sink.endpoint.eventId

The event ID.

MEDIUM

camel.sink.endpoint.eventUpdate

The event to be created or updated.

MEDIUM

camel.sink.endpoint.friendId

The friend ID.

MEDIUM

camel.sink.endpoint.friendlistId

The friend list ID.

MEDIUM

camel.sink.endpoint.friendlistName

The friend list Name.

MEDIUM

camel.sink.endpoint.friendUserId

The friend user ID.

MEDIUM

camel.sink.endpoint.groupId

The group ID.

MEDIUM

camel.sink.endpoint.gzipEnabled

Use Facebook GZIP encoding.

"true"

MEDIUM

camel.sink.endpoint.httpConnectionTimeout

Http connection timeout in milliseconds.

"20000"

MEDIUM

camel.sink.endpoint.httpDefaultMaxPerRoute

HTTP maximum connections per route.

"2"

MEDIUM

camel.sink.endpoint.httpMaxTotalConnections

HTTP maximum total connections.

"20"

MEDIUM

camel.sink.endpoint.httpReadTimeout

Http read timeout in milliseconds.

"120000"

MEDIUM

camel.sink.endpoint.httpRetryCount

Number of HTTP retries.

"0"

MEDIUM

camel.sink.endpoint.httpRetryIntervalSeconds

HTTP retry interval in seconds.

"5"

MEDIUM

camel.sink.endpoint.httpStreamingReadTimeout

HTTP streaming read timeout in milliseconds.

"40000"

MEDIUM

camel.sink.endpoint.ids

The ids of users.

MEDIUM

camel.sink.endpoint.inBody

Sets the name of a parameter to be passed in the exchange In Body.

MEDIUM

camel.sink.endpoint.includeRead

Enables notifications that the user has already read in addition to unread ones.

MEDIUM

camel.sink.endpoint.isHidden

Whether hidden.

MEDIUM

camel.sink.endpoint.jsonStoreEnabled

If set to true, raw JSON forms will be stored in DataObjectFactory.

"false"

MEDIUM

camel.sink.endpoint.link

Link URL.

MEDIUM

camel.sink.endpoint.linkId

Link ID.

MEDIUM

camel.sink.endpoint.locale

Desired FQL locale.

MEDIUM

camel.sink.endpoint.mbeanEnabled

If set to true, Facebook4J mbean will be registerd.

"false"

MEDIUM

camel.sink.endpoint.message

The message text.

MEDIUM

camel.sink.endpoint.messageId

The message ID.

MEDIUM

camel.sink.endpoint.metric

The metric name.

MEDIUM

camel.sink.endpoint.milestoneId

The milestone id.

MEDIUM

camel.sink.endpoint.name

Test user name, must be of the form 'first last'.

MEDIUM

camel.sink.endpoint.noteId

The note ID.

MEDIUM

camel.sink.endpoint.notificationId

The notification ID.

MEDIUM

camel.sink.endpoint.objectId

The insight object ID.

MEDIUM

camel.sink.endpoint.offerId

The offer id.

MEDIUM

camel.sink.endpoint.optionDescription

The question’s answer option description.

MEDIUM

camel.sink.endpoint.pageId

The page id.

MEDIUM

camel.sink.endpoint.permissionName

The permission name.

MEDIUM

camel.sink.endpoint.permissions

Test user permissions in the format perm1,perm2,…​

MEDIUM

camel.sink.endpoint.photoId

The photo ID.

MEDIUM

camel.sink.endpoint.pictureId

The picture id.

MEDIUM

camel.sink.endpoint.pictureId2

The picture2 id.

MEDIUM

camel.sink.endpoint.pictureSize

The picture size One of: [square] [small] [normal] [large] [thumbnail] [album].

Enum values:

  • square

  • small

  • normal

  • large

  • thumbnail

  • album

MEDIUM

camel.sink.endpoint.placeId

The place ID.

MEDIUM

camel.sink.endpoint.postId

The post ID.

MEDIUM

camel.sink.endpoint.postUpdate

The post to create or update.

MEDIUM

camel.sink.endpoint.prettyDebugEnabled

Prettify JSON debug output if set to true.

"false"

MEDIUM

camel.sink.endpoint.queries

FQL queries.

MEDIUM

camel.sink.endpoint.query

FQL query or search terms for search endpoints.

MEDIUM

camel.sink.endpoint.questionId

The question id.

MEDIUM

camel.sink.endpoint.reading

Optional reading parameters. See Reading Options(#reading).

MEDIUM

camel.sink.endpoint.readingOptions

To configure Reading using key/value pairs from the Map.

MEDIUM

camel.sink.endpoint.restBaseURL

API base URL.

"https://graph.facebook.com/"

MEDIUM

camel.sink.endpoint.scoreValue

The numeric score with value.

MEDIUM

camel.sink.endpoint.size

The picture size, one of large, normal, small or square One of: [square] [small] [normal] [large] [thumbnail] [album].

Enum values:

  • square

  • small

  • normal

  • large

  • thumbnail

  • album

MEDIUM

camel.sink.endpoint.source

The media content from either a java.io.File or java.io.Inputstream.

MEDIUM

camel.sink.endpoint.subject

The note of the subject.

MEDIUM

camel.sink.endpoint.tabId

The tab id.

MEDIUM

camel.sink.endpoint.tagUpdate

Photo tag information.

MEDIUM

camel.sink.endpoint.testUser1

Test user 1.

MEDIUM

camel.sink.endpoint.testUser2

Test user 2.

MEDIUM

camel.sink.endpoint.testUserId

The ID of the test user.

MEDIUM

camel.sink.endpoint.title

The title text.

MEDIUM

camel.sink.endpoint.toUserId

The ID of the user to tag.

MEDIUM

camel.sink.endpoint.toUserIds

The IDs of the users to tag.

MEDIUM

camel.sink.endpoint.userId

The Facebook user ID.

MEDIUM

camel.sink.endpoint.userId1

The ID of a user 1.

MEDIUM

camel.sink.endpoint.userId2

The ID of a user 2.

MEDIUM

camel.sink.endpoint.userIds

The IDs of users to invite to event.

MEDIUM

camel.sink.endpoint.userLocale

The test user locale.

MEDIUM

camel.sink.endpoint.useSSL

Use SSL.

"true"

MEDIUM

camel.sink.endpoint.videoBaseURL

Video API base URL.

"https://graph-video.facebook.com/"

MEDIUM

camel.sink.endpoint.videoId

The video ID.

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

MEDIUM

camel.sink.endpoint.httpProxyHost

HTTP proxy server host name.

MEDIUM

camel.sink.endpoint.httpProxyPassword

HTTP proxy server password.

MEDIUM

camel.sink.endpoint.httpProxyPort

HTTP proxy server port.

MEDIUM

camel.sink.endpoint.httpProxyUser

HTTP proxy server user name.

MEDIUM

camel.sink.endpoint.oAuthAccessToken

The user access token.

MEDIUM

camel.sink.endpoint.oAuthAccessTokenURL

OAuth access token URL.

"https://graph.facebook.com/oauth/access_token"

MEDIUM

camel.sink.endpoint.oAuthAppId

The application Id.

MEDIUM

camel.sink.endpoint.oAuthAppSecret

The application Secret.

MEDIUM

camel.sink.endpoint.oAuthAuthorizationURL

OAuth authorization URL.

"https://www.facebook.com/dialog/oauth"

MEDIUM

camel.sink.endpoint.oAuthPermissions

Default OAuth permissions. Comma separated permission names. See https://developers.facebook.com/docs/reference/login/#permissions for the detail.

MEDIUM

camel.component.facebook.clientURL

Facebook4J API client URL.

MEDIUM

camel.component.facebook.clientVersion

Facebook4J client API version.

MEDIUM

camel.component.facebook.debugEnabled

Enables deubg output. Effective only with the embedded logger.

"false"

MEDIUM

camel.component.facebook.gzipEnabled

Use Facebook GZIP encoding.

"true"

MEDIUM

camel.component.facebook.httpConnectionTimeout

Http connection timeout in milliseconds.

"20000"

MEDIUM

camel.component.facebook.httpDefaultMaxPerRoute

HTTP maximum connections per route.

"2"

MEDIUM

camel.component.facebook.httpMaxTotalConnections

HTTP maximum total connections.

"20"

MEDIUM

camel.component.facebook.httpReadTimeout

Http read timeout in milliseconds.

"120000"

MEDIUM

camel.component.facebook.httpRetryCount

Number of HTTP retries.

"0"

MEDIUM

camel.component.facebook.httpRetryIntervalSeconds

HTTP retry interval in seconds.

"5"

MEDIUM

camel.component.facebook.httpStreamingReadTimeout

HTTP streaming read timeout in milliseconds.

"40000"

MEDIUM

camel.component.facebook.jsonStoreEnabled

If set to true, raw JSON forms will be stored in DataObjectFactory.

"false"

MEDIUM

camel.component.facebook.mbeanEnabled

If set to true, Facebook4J mbean will be registerd.

"false"

MEDIUM

camel.component.facebook.prettyDebugEnabled

Prettify JSON debug output if set to true.

"false"

MEDIUM

camel.component.facebook.restBaseURL

API base URL.

"https://graph.facebook.com/"

MEDIUM

camel.component.facebook.useSSL

Use SSL.

"true"

MEDIUM

camel.component.facebook.videoBaseURL

Video API base URL.

"https://graph-video.facebook.com/"

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

MEDIUM

camel.component.facebook.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

MEDIUM

camel.component.facebook.configuration

To use the shared configuration.

MEDIUM

camel.component.facebook.httpProxyHost

HTTP proxy server host name.

MEDIUM

camel.component.facebook.httpProxyPassword

HTTP proxy server password.

MEDIUM

camel.component.facebook.httpProxyPort

HTTP proxy server port.

MEDIUM

camel.component.facebook.httpProxyUser

HTTP proxy server user name.

MEDIUM

camel.component.facebook.oAuthAccessToken

The user access token.

MEDIUM

camel.component.facebook.oAuthAccessTokenURL

OAuth access token URL.

"https://graph.facebook.com/oauth/access_token"

MEDIUM

camel.component.facebook.oAuthAppId

The application Id.

MEDIUM

camel.component.facebook.oAuthAppSecret

The application Secret.

MEDIUM

camel.component.facebook.oAuthAuthorizationURL

OAuth authorization URL.

"https://www.facebook.com/dialog/oauth"

MEDIUM

camel.component.facebook.oAuthPermissions

Default OAuth permissions. Comma separated permission names. See https://developers.facebook.com/docs/reference/login/#permissions for the detail.

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.