Twitter Search Source
Provided by: "Apache Software Foundation"
Support Level for this Kamelet is: "Stable"
Allows to get all tweets on particular keywords from Twitter.
It requires tokens that can be obtained by creating an application in the Twitter developer portal: https://developer.twitter.com/.
Configuration Options
The following table summarizes the configuration options available for the twitter-search-source
Kamelet:
Property | Name | Description | Type | Default | Example |
---|---|---|---|---|---|
Access Token | Required The Access Token from the Twitter application in the developer portal. | string | |||
Access Token Secret | Required The Access Token Secret from the Twitter application in the developer portal. | string | |||
API Key | Required The API Key from the Twitter application in the developer portal. | string | |||
API Key Secret | Required The API Key Secret from the Twitter application in the developer portal. | string | |||
Keywords | Required The keywords to use in the Twitter search (Supports Twitter standard operators). | string | Apache Camel |
Dependencies
At runtime, the twitter-search-source
Kamelet relies upon the presence of the following dependencies:
-
camel:jackson
-
camel:twitter
-
camel:kamelet
Camel JBang usage
Prerequisites
-
You’ve installed JBang.
-
You have executed the following command:
jbang app install camel@apache/camel
Supposing you have a file named route.yaml with this content:
- route:
from:
uri: "kamelet:twitter-search-source"
parameters:
.
.
.
steps:
- to:
uri: "kamelet:log-sink"
You can now run it directly through the following command
camel run route.yaml