camel-facebook-kafka-connector source configuration

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

When using camel-facebook-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-facebook-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.facebook.CamelFacebookSourceConnector

The camel-facebook source connector supports 132 options, which are listed below.

Name Description Default Required Priority

camel.source.path.methodName

What operation to perform

null

true

HIGH

camel.source.endpoint.achievementURL

The unique URL of the achievement

null

false

MEDIUM

camel.source.endpoint.albumId

The album ID

null

false

MEDIUM

camel.source.endpoint.albumUpdate

The facebook Album to be created or updated

null

false

MEDIUM

camel.source.endpoint.appId

The ID of the Facebook Application

null

false

MEDIUM

camel.source.endpoint.center

Location latitude and longitude

null

false

MEDIUM

camel.source.endpoint.checkinId

The checkin ID

null

false

MEDIUM

camel.source.endpoint.checkinUpdate

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

null

false

LOW

camel.source.endpoint.clientURL

Facebook4J API client URL

null

false

MEDIUM

camel.source.endpoint.clientVersion

Facebook4J client API version

null

false

MEDIUM

camel.source.endpoint.commentId

The comment ID

null

false

MEDIUM

camel.source.endpoint.commentUpdate

The facebook Comment to be created or updated

null

false

MEDIUM

camel.source.endpoint.debugEnabled

Enables deubg output. Effective only with the embedded logger

"false"

false

MEDIUM

camel.source.endpoint.description

The description text

null

false

MEDIUM

camel.source.endpoint.distance

Distance in meters

null

false

MEDIUM

camel.source.endpoint.domainId

The domain ID

null

false

MEDIUM

camel.source.endpoint.domainName

The domain name

null

false

MEDIUM

camel.source.endpoint.domainNames

The domain names

null

false

MEDIUM

camel.source.endpoint.eventId

The event ID

null

false

MEDIUM

camel.source.endpoint.eventUpdate

The event to be created or updated

null

false

MEDIUM

camel.source.endpoint.friendId

The friend ID

null

false

MEDIUM

camel.source.endpoint.friendlistId

The friend list ID

null

false

MEDIUM

camel.source.endpoint.friendlistName

The friend list Name

null

false

MEDIUM

camel.source.endpoint.friendUserId

The friend user ID

null

false

MEDIUM

camel.source.endpoint.groupId

The group ID

null

false

MEDIUM

camel.source.endpoint.gzipEnabled

Use Facebook GZIP encoding

"true"

false

MEDIUM

camel.source.endpoint.httpConnectionTimeout

Http connection timeout in milliseconds

"20000"

false

MEDIUM

camel.source.endpoint.httpDefaultMaxPerRoute

HTTP maximum connections per route

"2"

false

MEDIUM

camel.source.endpoint.httpMaxTotalConnections

HTTP maximum total connections

"20"

false

MEDIUM

camel.source.endpoint.httpReadTimeout

Http read timeout in milliseconds

"120000"

false

MEDIUM

camel.source.endpoint.httpRetryCount

Number of HTTP retries

"0"

false

MEDIUM

camel.source.endpoint.httpRetryIntervalSeconds

HTTP retry interval in seconds

"5"

false

MEDIUM

camel.source.endpoint.httpStreamingReadTimeout

HTTP streaming read timeout in milliseconds

"40000"

false

MEDIUM

camel.source.endpoint.ids

The ids of users

null

false

MEDIUM

camel.source.endpoint.inBody

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

null

false

MEDIUM

camel.source.endpoint.includeRead

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

null

false

MEDIUM

camel.source.endpoint.isHidden

Whether hidden

null

false

MEDIUM

camel.source.endpoint.jsonStoreEnabled

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

"false"

false

MEDIUM

camel.source.endpoint.link

Link URL

null

false

MEDIUM

camel.source.endpoint.linkId

Link ID

null

false

MEDIUM

camel.source.endpoint.locale

Desired FQL locale

null

false

MEDIUM

camel.source.endpoint.mbeanEnabled

If set to true, Facebook4J mbean will be registerd

"false"

false

MEDIUM

camel.source.endpoint.message

The message text

null

false

MEDIUM

camel.source.endpoint.messageId

The message ID

null

false

MEDIUM

camel.source.endpoint.metric

The metric name

null

false

MEDIUM

camel.source.endpoint.milestoneId

The milestone id

null

false

MEDIUM

camel.source.endpoint.name

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

null

false

MEDIUM

camel.source.endpoint.noteId

The note ID

null

false

MEDIUM

camel.source.endpoint.notificationId

The notification ID

null

false

MEDIUM

camel.source.endpoint.objectId

The insight object ID

null

false

MEDIUM

camel.source.endpoint.offerId

The offer id

null

false

MEDIUM

camel.source.endpoint.optionDescription

The question’s answer option description

null

false

MEDIUM

camel.source.endpoint.pageId

The page id

null

false

MEDIUM

camel.source.endpoint.permissionName

The permission name

null

false

MEDIUM

camel.source.endpoint.permissions

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

null

false

MEDIUM

camel.source.endpoint.photoId

The photo ID

null

false

MEDIUM

camel.source.endpoint.pictureId

The picture id

null

false

MEDIUM

camel.source.endpoint.pictureId2

The picture2 id

null

false

MEDIUM

camel.source.endpoint.pictureSize

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

null

false

MEDIUM

camel.source.endpoint.placeId

The place ID

null

false

MEDIUM

camel.source.endpoint.postId

The post ID

null

false

MEDIUM

camel.source.endpoint.postUpdate

The post to create or update

null

false

MEDIUM

camel.source.endpoint.prettyDebugEnabled

Prettify JSON debug output if set to true

"false"

false

MEDIUM

camel.source.endpoint.queries

FQL queries

null

false

MEDIUM

camel.source.endpoint.query

FQL query or search terms for search endpoints

null

false

MEDIUM

camel.source.endpoint.questionId

The question id

null

false

MEDIUM

camel.source.endpoint.reading

Optional reading parameters. See Reading Options(#reading)

null

false

MEDIUM

camel.source.endpoint.readingOptions

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

null

false

MEDIUM

camel.source.endpoint.restBaseURL

API base URL

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

false

MEDIUM

camel.source.endpoint.scoreValue

The numeric score with value

null

false

MEDIUM

camel.source.endpoint.size

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

null

false

MEDIUM

camel.source.endpoint.source

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

null

false

MEDIUM

camel.source.endpoint.subject

The note of the subject

null

false

MEDIUM

camel.source.endpoint.tabId

The tab id

null

false

MEDIUM

camel.source.endpoint.tagUpdate

Photo tag information

null

false

MEDIUM

camel.source.endpoint.testUser1

Test user 1

null

false

MEDIUM

camel.source.endpoint.testUser2

Test user 2

null

false

MEDIUM

camel.source.endpoint.testUserId

The ID of the test user

null

false

MEDIUM

camel.source.endpoint.title

The title text

null

false

MEDIUM

camel.source.endpoint.toUserId

The ID of the user to tag

null

false

MEDIUM

camel.source.endpoint.toUserIds

The IDs of the users to tag

null

false

MEDIUM

camel.source.endpoint.userId

The Facebook user ID

null

false

MEDIUM

camel.source.endpoint.userId1

The ID of a user 1

null

false

MEDIUM

camel.source.endpoint.userId2

The ID of a user 2

null

false

MEDIUM

camel.source.endpoint.userIds

The IDs of users to invite to event

null

false

MEDIUM

camel.source.endpoint.userLocale

The test user locale

null

false

MEDIUM

camel.source.endpoint.useSSL

Use SSL

"true"

false

MEDIUM

camel.source.endpoint.videoBaseURL

Video API base URL

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

false

MEDIUM

camel.source.endpoint.videoId

The video ID

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.httpProxyHost

HTTP proxy server host name

null

false

MEDIUM

camel.source.endpoint.httpProxyPassword

HTTP proxy server password

null

false

MEDIUM

camel.source.endpoint.httpProxyPort

HTTP proxy server port

null

false

MEDIUM

camel.source.endpoint.httpProxyUser

HTTP proxy server user name

null

false

MEDIUM

camel.source.endpoint.oAuthAccessToken

The user access token

null

false

MEDIUM

camel.source.endpoint.oAuthAccessTokenURL

OAuth access token URL

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

false

MEDIUM

camel.source.endpoint.oAuthAppId

The application Id

null

false

MEDIUM

camel.source.endpoint.oAuthAppSecret

The application Secret

null

false

MEDIUM

camel.source.endpoint.oAuthAuthorizationURL

OAuth authorization URL

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

false

MEDIUM

camel.source.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.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.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

false

MEDIUM

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 source connector has no converters out of the box.

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

The camel-facebook source connector has no aggregation strategies out of the box.