Solr Source
Provided by: "Apache Software Foundation"
Support Level for this Kamelet is: "Stable"
Query for documents to Solr Collection.
Configuration Options
The following table summarizes the configuration options available for the solr-source
Kamelet:
Property | Name | Description | Type | Default | Example |
---|---|---|---|---|---|
Collection | Required Solr Collection name. | string | |||
Period between Polls | Required The interval between fetches to the Solr collection. | integer | 10000 | ||
Query | Required The query to submit to Solr. | string | |||
Servers | Required Comma separated list of Solr Servers and ports. | string | |||
Password | Password to connect to Solr. | string | |||
Username | Username to connect to Solr. | string |
Dependencies
At runtime, the solr-source
Kamelet relies upon the presence of the following dependencies:
-
camel:solr
-
camel:core
-
camel:timer
-
camel:jackson
-
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:solr-source"
parameters:
.
.
.
steps:
- to:
uri: "kamelet:log-sink"
You can now run it directly through the following command
camel run route.yaml