Flume Morphline Solr Sink Configuration Options
You can use the flume.conf configuration file to configure one or more Flume agents, including their sources, sinks, and channels. This is the standard Flume configuration mechanism. For more information about the flume.conf configuration file, see the Flume User Guide.
Flume Morphline Solr Sink provides the following configuration options in the flume.conf file:
Property Name |
Default |
Description |
---|---|---|
type |
|
The FQCN of this class:
org.apache.flume.sink.solr. morphline.MorphlineSolrSink |
batchSize |
100 |
The maximum number of events to take per flume transaction. |
batchDurationMillis |
1000 |
The maximum duration per flume transaction (ms). The transaction commits after this duration or when batchSize is exceeded, whichever comes first. |
indexerClass |
org.apache.flume.sink.solr. morphline.MorphlineSolrIndexer |
The FQCN of a class implementing
org.apache.flume.sink.solr. morphline.SolrIndexer |
morphlineFile |
n/a |
The location of the morphline configuration file.
|
morphlineId |
null |
Name used to identify a morphline if there are multiple morphlines in a morphline configuration file. |
agent.sinks.solrSink.type = org.apache.flume.sink.solr.morphline.MorphlineSolrSink agent.sinks.solrSink.channel = memoryChannel agent.sinks.solrSink.batchSize = 100 agent.sinks.solrSink.batchDurationMillis = 1000 agent.sinks.solrSink.morphlineFile = /etc/flume-ng/conf/morphline.conf agent.sinks.solrSink.morphlineId = morphline1
<< Flume Near Real-Time Indexing Reference | Flume Morphline Interceptor Configuration Options >> | |