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 | Priority |
---|---|---|---|
Required What operation to perform. |
HIGH |
||
The unique URL of the achievement. |
MEDIUM |
||
The album ID. |
MEDIUM |
||
The facebook Album to be created or updated. |
MEDIUM |
||
The ID of the Facebook Application. |
MEDIUM |
||
Location latitude and longitude. |
MEDIUM |
||
The checkin ID. |
MEDIUM |
||
The checkin to be created. Deprecated, instead create a Post with an attached location. |
LOW |
||
Facebook4J API client URL. |
MEDIUM |
||
Facebook4J client API version. |
MEDIUM |
||
The comment ID. |
MEDIUM |
||
The facebook Comment to be created or updated. |
MEDIUM |
||
Enables deubg output. Effective only with the embedded logger. |
"false" |
MEDIUM |
|
The description text. |
MEDIUM |
||
Distance in meters. |
MEDIUM |
||
The domain ID. |
MEDIUM |
||
The domain name. |
MEDIUM |
||
The domain names. |
MEDIUM |
||
The event ID. |
MEDIUM |
||
The event to be created or updated. |
MEDIUM |
||
The friend ID. |
MEDIUM |
||
The friend list ID. |
MEDIUM |
||
The friend list Name. |
MEDIUM |
||
The friend user ID. |
MEDIUM |
||
The group ID. |
MEDIUM |
||
Use Facebook GZIP encoding. |
"true" |
MEDIUM |
|
Http connection timeout in milliseconds. |
"20000" |
MEDIUM |
|
HTTP maximum connections per route. |
"2" |
MEDIUM |
|
HTTP maximum total connections. |
"20" |
MEDIUM |
|
Http read timeout in milliseconds. |
"120000" |
MEDIUM |
|
Number of HTTP retries. |
"0" |
MEDIUM |
|
HTTP retry interval in seconds. |
"5" |
MEDIUM |
|
HTTP streaming read timeout in milliseconds. |
"40000" |
MEDIUM |
|
The ids of users. |
MEDIUM |
||
Sets the name of a parameter to be passed in the exchange In Body. |
MEDIUM |
||
Enables notifications that the user has already read in addition to unread ones. |
MEDIUM |
||
Whether hidden. |
MEDIUM |
||
If set to true, raw JSON forms will be stored in DataObjectFactory. |
"false" |
MEDIUM |
|
Link URL. |
MEDIUM |
||
Link ID. |
MEDIUM |
||
Desired FQL locale. |
MEDIUM |
||
If set to true, Facebook4J mbean will be registerd. |
"false" |
MEDIUM |
|
The message text. |
MEDIUM |
||
The message ID. |
MEDIUM |
||
The metric name. |
MEDIUM |
||
The milestone id. |
MEDIUM |
||
Test user name, must be of the form 'first last'. |
MEDIUM |
||
The note ID. |
MEDIUM |
||
The notification ID. |
MEDIUM |
||
The insight object ID. |
MEDIUM |
||
The offer id. |
MEDIUM |
||
The question’s answer option description. |
MEDIUM |
||
The page id. |
MEDIUM |
||
The permission name. |
MEDIUM |
||
Test user permissions in the format perm1,perm2,… |
MEDIUM |
||
The photo ID. |
MEDIUM |
||
The picture id. |
MEDIUM |
||
The picture2 id. |
MEDIUM |
||
The picture size One of: [square] [small] [normal] [large] [thumbnail] [album]. Enum values:
|
MEDIUM |
||
The place ID. |
MEDIUM |
||
The post ID. |
MEDIUM |
||
The post to create or update. |
MEDIUM |
||
Prettify JSON debug output if set to true. |
"false" |
MEDIUM |
|
FQL queries. |
MEDIUM |
||
FQL query or search terms for search endpoints. |
MEDIUM |
||
The question id. |
MEDIUM |
||
Optional reading parameters. See Reading Options(#reading). |
MEDIUM |
||
To configure Reading using key/value pairs from the Map. |
MEDIUM |
||
API base URL. |
"https://graph.facebook.com/" |
MEDIUM |
|
The numeric score with value. |
MEDIUM |
||
The picture size, one of large, normal, small or square One of: [square] [small] [normal] [large] [thumbnail] [album]. Enum values:
|
MEDIUM |
||
The media content from either a java.io.File or java.io.Inputstream. |
MEDIUM |
||
The note of the subject. |
MEDIUM |
||
The tab id. |
MEDIUM |
||
Photo tag information. |
MEDIUM |
||
Test user 1. |
MEDIUM |
||
Test user 2. |
MEDIUM |
||
The ID of the test user. |
MEDIUM |
||
The title text. |
MEDIUM |
||
The ID of the user to tag. |
MEDIUM |
||
The IDs of the users to tag. |
MEDIUM |
||
The Facebook user ID. |
MEDIUM |
||
The ID of a user 1. |
MEDIUM |
||
The ID of a user 2. |
MEDIUM |
||
The IDs of users to invite to event. |
MEDIUM |
||
The test user locale. |
MEDIUM |
||
Use SSL. |
"true" |
MEDIUM |
|
Video API base URL. |
"https://graph-video.facebook.com/" |
MEDIUM |
|
The video ID. |
MEDIUM |
||
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 |
MEDIUM |
|
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. |
MEDIUM |
||
Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut]. Enum values:
|
MEDIUM |
||
HTTP proxy server host name. |
MEDIUM |
||
HTTP proxy server password. |
MEDIUM |
||
HTTP proxy server port. |
MEDIUM |
||
HTTP proxy server user name. |
MEDIUM |
||
The user access token. |
MEDIUM |
||
OAuth access token URL. |
"https://graph.facebook.com/oauth/access_token" |
MEDIUM |
|
The application Id. |
MEDIUM |
||
The application Secret. |
MEDIUM |
||
OAuth authorization URL. |
"https://www.facebook.com/dialog/oauth" |
MEDIUM |
|
Default OAuth permissions. Comma separated permission names. See https://developers.facebook.com/docs/reference/login/#permissions for the detail. |
MEDIUM |
||
Facebook4J API client URL. |
MEDIUM |
||
Facebook4J client API version. |
MEDIUM |
||
Enables deubg output. Effective only with the embedded logger. |
"false" |
MEDIUM |
|
Use Facebook GZIP encoding. |
"true" |
MEDIUM |
|
Http connection timeout in milliseconds. |
"20000" |
MEDIUM |
|
HTTP maximum connections per route. |
"2" |
MEDIUM |
|
HTTP maximum total connections. |
"20" |
MEDIUM |
|
Http read timeout in milliseconds. |
"120000" |
MEDIUM |
|
Number of HTTP retries. |
"0" |
MEDIUM |
|
HTTP retry interval in seconds. |
"5" |
MEDIUM |
|
HTTP streaming read timeout in milliseconds. |
"40000" |
MEDIUM |
|
If set to true, raw JSON forms will be stored in DataObjectFactory. |
"false" |
MEDIUM |
|
If set to true, Facebook4J mbean will be registerd. |
"false" |
MEDIUM |
|
Prettify JSON debug output if set to true. |
"false" |
MEDIUM |
|
API base URL. |
"https://graph.facebook.com/" |
MEDIUM |
|
Use SSL. |
"true" |
MEDIUM |
|
Video API base URL. |
"https://graph-video.facebook.com/" |
MEDIUM |
|
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 |
MEDIUM |
|
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 |
|
To use the shared configuration. |
MEDIUM |
||
HTTP proxy server host name. |
MEDIUM |
||
HTTP proxy server password. |
MEDIUM |
||
HTTP proxy server port. |
MEDIUM |
||
HTTP proxy server user name. |
MEDIUM |
||
The user access token. |
MEDIUM |
||
OAuth access token URL. |
"https://graph.facebook.com/oauth/access_token" |
MEDIUM |
|
The application Id. |
MEDIUM |
||
The application Secret. |
MEDIUM |
||
OAuth authorization URL. |
"https://www.facebook.com/dialog/oauth" |
MEDIUM |
|
Default OAuth permissions. Comma separated permission names. See https://developers.facebook.com/docs/reference/login/#permissions for the detail. |
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.