{"id":137,"date":"2021-07-11T15:50:47","date_gmt":"2021-07-11T15:50:47","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=137"},"modified":"2021-09-15T05:37:02","modified_gmt":"2021-09-15T05:37:02","slug":"what-is-channel-selectors","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-channel-selectors\/","title":{"rendered":"What is Channel Selectors ?"},"content":{"rendered":"<div class=\"TextHeading\">\n<div class=\"hddn\">\n<h2 id=\"channel-selectors\" class=\"color-green\" style=\"text-align: justify;\">Channel Selectors<\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Channel selectors control and dividing the events and allocating a specific channel. They are default or replicated channel selectors.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<div class=\"ImageContent\">\n<div class=\"hddn\"><\/div>\n<div><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-flume\/apache-flume-features.gif\" alt=\"Apache Flume Features\" width=\"686\" height=\"383\" \/><\/div>\n<\/div>\n<ul>\n<li>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.<\/li>\n<li>It means based on sinks destination, the event aggregate into the specific sink.<\/li>\n<li>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.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"text-center row\" style=\"text-align: justify;\">\n<div class=\"col-sm-12\">\n<div id=\"bsa-zone_1590522538159-8_123456\"><\/div>\n<\/div>\n<\/div>\n<div class=\"ImageContent\" style=\"text-align: justify;\">\n<div class=\"hddn\"><img decoding=\"async\" class=\"aligncenter size-medium\" src=\"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-flume\/what-are-channel-selectors.png\" alt=\"What are channel selectors\" width=\"616\" height=\"321\" \/><\/div>\n<\/div>\n<p style=\"text-align: justify;\" align=\"center\">Learn Flume \u2013 Flume tutorial \u2013\u00a0what are channel selectors\u00a0\u2013 Flume examples \u2013 Flume programs<\/p>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li><b>Overview and Architecture<\/b>, a source can write at least with one or more channels.<\/li>\n<li>This is reason the property is plural channels instead of channel.<\/li>\n<li>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.<\/li>\n<li>The internal mechanism for this in Flume is known as\u00a0<b>channel selector.<\/b><\/li>\n<li>The selector for any channel can be determined using the\u00a0<code>selector.type<\/code>\u00a0property.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<p style=\"text-align: justify;\">All selector-specific properties start with the typical Source prefix: the agent name, keyword sources, and source name:<\/p>\n<div class=\"code-embed-wrapper\"> <div class=\"code-embed-infos\"> <\/div> <pre class=\"language-markdown code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-markdown code-embed-code\">agent.sources.s1.selector.type=replicating<\/code><\/pre> <\/div>\n","protected":false},"excerpt":{"rendered":"<p>Answer-Channel selectors control and dividing the events and allocating a specific channel. They are default or replicated channel selectors.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[369],"tags":[430,371,426,425,402,429,428,424,427,401,431,423,364],"class_list":["post-137","post","type-post","status-publish","format-standard","hentry","category-apache-flume","tag-an-event-in-flume-is-a-unit-of-data-that-flows-through","tag-apache-flume-example","tag-flume-1-6-user-guide","tag-flume-file-channel","tag-flume-http-source","tag-flume-interview-questions","tag-flume-interview-questions-and-answers-for-experienced","tag-flume-kafka-channel","tag-flume-spooldir","tag-flume-user-guide","tag-interceptors-are-part-of-flumes-extensibility-model","tag-supplied-interceptor-in-flume","tag-wells-fargo-interview-questions-and-answers"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is Channel Selectors ? - Apache Flume Interview Questions<\/title>\n<meta name=\"description\" content=\"What is Channel Selectors ? - apache flume interview questions - Channel selectors control and dividing the events and allocating a specific channel.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-channel-selectors\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Channel Selectors ? - Apache Flume Interview Questions\" \/>\n<meta property=\"og:description\" content=\"What is Channel Selectors ? - apache flume interview questions - Channel selectors control and dividing the events and allocating a specific channel.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-channel-selectors\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-11T15:50:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-15T05:37:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-flume\/apache-flume-features.gif\" \/>\n<meta name=\"author\" content=\"Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-channel-selectors\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-channel-selectors\\\/\"},\"author\":{\"name\":\"Editor\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#\\\/schema\\\/person\\\/4d5a581fb5470d1560324bddc5e8b757\"},\"headline\":\"What is Channel Selectors ?\",\"datePublished\":\"2021-07-11T15:50:47+00:00\",\"dateModified\":\"2021-09-15T05:37:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-channel-selectors\\\/\"},\"wordCount\":217,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-channel-selectors\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/apache-flume-features.gif\",\"keywords\":[\"an event in flume is a unit of data that flows through\",\"apache flume example\",\"flume 1.6 user guide\",\"flume file channel\",\"flume http source\",\"flume interview questions\",\"flume interview questions and answers for experienced\",\"flume kafka channel\",\"flume spooldir\",\"flume user guide\",\"interceptors are part of flumes extensibility model\",\"supplied interceptor in flume\",\"Wells Fargo interview questions and answers\"],\"articleSection\":[\"Apache Flume\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-channel-selectors\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-channel-selectors\\\/\",\"url\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-channel-selectors\\\/\",\"name\":\"What is Channel Selectors ? - Apache Flume Interview Questions\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-channel-selectors\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-channel-selectors\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/apache-flume-features.gif\",\"datePublished\":\"2021-07-11T15:50:47+00:00\",\"dateModified\":\"2021-09-15T05:37:02+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#\\\/schema\\\/person\\\/4d5a581fb5470d1560324bddc5e8b757\"},\"description\":\"What is Channel Selectors ? - apache flume interview questions - Channel selectors control and dividing the events and allocating a specific channel.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-channel-selectors\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-channel-selectors\\\/#primaryimage\",\"url\":\"https:\\\/\\\/cdn.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/apache-flume-features.gif\",\"contentUrl\":\"https:\\\/\\\/cdn.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/apache-flume-features.gif\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#website\",\"url\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/\",\"name\":\"Wikitechy\",\"description\":\"Interview Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#\\\/schema\\\/person\\\/4d5a581fb5470d1560324bddc5e8b757\",\"name\":\"Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"caption\":\"Editor\"},\"url\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/author\\\/editor\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Channel Selectors ? - Apache Flume Interview Questions","description":"What is Channel Selectors ? - apache flume interview questions - Channel selectors control and dividing the events and allocating a specific channel.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-channel-selectors\/","og_locale":"en_US","og_type":"article","og_title":"What is Channel Selectors ? - Apache Flume Interview Questions","og_description":"What is Channel Selectors ? - apache flume interview questions - Channel selectors control and dividing the events and allocating a specific channel.","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-channel-selectors\/","og_site_name":"Wikitechy","article_published_time":"2021-07-11T15:50:47+00:00","article_modified_time":"2021-09-15T05:37:02+00:00","og_image":[{"url":"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-flume\/apache-flume-features.gif","type":"","width":"","height":""}],"author":"Editor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Editor","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-channel-selectors\/#article","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-channel-selectors\/"},"author":{"name":"Editor","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757"},"headline":"What is Channel Selectors ?","datePublished":"2021-07-11T15:50:47+00:00","dateModified":"2021-09-15T05:37:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-channel-selectors\/"},"wordCount":217,"commentCount":0,"image":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-channel-selectors\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-flume\/apache-flume-features.gif","keywords":["an event in flume is a unit of data that flows through","apache flume example","flume 1.6 user guide","flume file channel","flume http source","flume interview questions","flume interview questions and answers for experienced","flume kafka channel","flume spooldir","flume user guide","interceptors are part of flumes extensibility model","supplied interceptor in flume","Wells Fargo interview questions and answers"],"articleSection":["Apache Flume"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-channel-selectors\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-channel-selectors\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-channel-selectors\/","name":"What is Channel Selectors ? - Apache Flume Interview Questions","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-channel-selectors\/#primaryimage"},"image":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-channel-selectors\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-flume\/apache-flume-features.gif","datePublished":"2021-07-11T15:50:47+00:00","dateModified":"2021-09-15T05:37:02+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757"},"description":"What is Channel Selectors ? - apache flume interview questions - Channel selectors control and dividing the events and allocating a specific channel.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-channel-selectors\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-channel-selectors\/#primaryimage","url":"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-flume\/apache-flume-features.gif","contentUrl":"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-flume\/apache-flume-features.gif"},{"@type":"WebSite","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website","url":"https:\/\/www.wikitechy.com\/interview-questions\/","name":"Wikitechy","description":"Interview Questions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757","name":"Editor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","caption":"Editor"},"url":"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/137","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=137"}],"version-history":[{"count":4,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/137\/revisions"}],"predecessor-version":[{"id":3788,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/137\/revisions\/3788"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=137"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=137"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=137"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}