Channel Selectors
-
- Channel selectors control and dividing the events and allocating a specific channel. They are default or replicated channel selectors.
- Replicated channel selectors can duplicate the information in multiple or all channels. Multiplexing channel selectors used to divide and aggregate the data based on the events header data.
- It means based on sinks destination, the event aggregate into the specific sink.
- Example: One sink associated with hadoop, another with S3 another with Hbase, at that time, Multiplexing channel selectors can divide the events and flow to the specific sink.
Learn Flume – Flume tutorial – what are channel selectors – Flume examples – Flume programs
- Overview and Architecture, a source can write at least with one or more channels.
- This is reason the property is plural channels instead of channel.
- There are two ways multiple channels can be handled. The event can be written to every channel or to only one channel, based on some Flume header value.
- The internal mechanism for this in Flume is known as channel selector.
- The selector for any channel can be determined using the
selector.type
property.
All selector-specific properties start with the typical Source prefix: the agent name, keyword sources, and source name: