{"id":132,"date":"2021-07-11T15:29:39","date_gmt":"2021-07-11T15:29:39","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=132"},"modified":"2021-09-15T05:43:20","modified_gmt":"2021-09-15T05:43:20","slug":"what-is-interceptor-in-apache-flume","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-interceptor-in-apache-flume\/","title":{"rendered":"What is Interceptor in Apache Flume ?"},"content":{"rendered":"<div class=\"TextHeading\">\n<div class=\"hddn\">\n<h2 id=\"interceptor-in-apache-flume\" class=\"color-green\" style=\"text-align: justify;\">Interceptor in Apache Flume<\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li><b>Apache Flume<\/b>\u00a0offers interceptors as a method of modifying records as they have a\u00a0<b>Flume channel<\/b>.<\/li>\n<li><b>Interceptors<\/b>\u00a0are used to filter the events between\u00a0<b>source and channel, channel and sink<\/b>. These channels will filter un-necessary or targeted log files.<\/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=\"hddn\"><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 class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>Interceptors are a part of\u00a0<b>Flume\u2019s extensibility model<\/b>. They permit events to be inspected as they pass between a\u00a0<b>source and a channel<\/b>, and also the developer is liberated to modify or drop events as needed. Interceptors in the chain along to create a\u00a0<b>pipeline process.<\/b><\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"hddn\"><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","protected":false},"excerpt":{"rendered":"<p>Answer-Apache Flume offers interceptors as a method of modifying records as they have a Flume channel&#8230;.<\/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":[379,371,372,378,408,406,402,404,399,405,409,400,407,403,364,398],"class_list":["post-132","post","type-post","status-publish","format-standard","hentry","category-apache-flume","tag-apache-flume-architecture","tag-apache-flume-example","tag-apache-flume-tutorial","tag-apache-flume-use-cases","tag-flume-configuration-file-example","tag-flume-hadoop-example","tag-flume-http-source","tag-flume-interceptor-example","tag-flume-interceptor-regex","tag-flume-interceptor-static","tag-flume-java-api-example","tag-flume-kafka-source","tag-flume-tutorial-cloudera","tag-how-to-add-interceptor-in-flume","tag-wells-fargo-interview-questions-and-answers","tag-which-of-the-following-is-not-a-supplied-interceptor"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is Interceptor in Apache Flume ? - Apache Flume<\/title>\n<meta name=\"description\" content=\"What is Interceptor in Apache Flume ? - flume tutorial - Apache Flume offers interceptors as a way of modifying records (known in Flume as events)\" \/>\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-interceptor-in-apache-flume\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Interceptor in Apache Flume ? - Apache Flume\" \/>\n<meta property=\"og:description\" content=\"What is Interceptor in Apache Flume ? - flume tutorial - Apache Flume offers interceptors as a way of modifying records (known in Flume as events)\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-interceptor-in-apache-flume\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-11T15:29:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-15T05:43:20+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=\"1 minute\" \/>\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-interceptor-in-apache-flume\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-interceptor-in-apache-flume\\\/\"},\"author\":{\"name\":\"Editor\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#\\\/schema\\\/person\\\/4d5a581fb5470d1560324bddc5e8b757\"},\"headline\":\"What is Interceptor in Apache Flume ?\",\"datePublished\":\"2021-07-11T15:29:39+00:00\",\"dateModified\":\"2021-09-15T05:43:20+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-interceptor-in-apache-flume\\\/\"},\"wordCount\":96,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-interceptor-in-apache-flume\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/apache-flume-features.gif\",\"keywords\":[\"apache flume architecture\",\"apache flume example\",\"apache flume tutorial\",\"apache flume use cases\",\"flume configuration file example\",\"flume hadoop example\",\"flume http source\",\"flume interceptor example\",\"flume interceptor regex\",\"flume interceptor static\",\"flume java api example\",\"flume kafka source\",\"flume tutorial cloudera\",\"how to add interceptor in flume\",\"Wells Fargo interview questions and answers\",\"which of the following is not a supplied interceptor?\"],\"articleSection\":[\"Apache Flume\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-interceptor-in-apache-flume\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-interceptor-in-apache-flume\\\/\",\"url\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-interceptor-in-apache-flume\\\/\",\"name\":\"What is Interceptor in Apache Flume ? - Apache Flume\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-interceptor-in-apache-flume\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-interceptor-in-apache-flume\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/apache-flume-features.gif\",\"datePublished\":\"2021-07-11T15:29:39+00:00\",\"dateModified\":\"2021-09-15T05:43:20+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#\\\/schema\\\/person\\\/4d5a581fb5470d1560324bddc5e8b757\"},\"description\":\"What is Interceptor in Apache Flume ? - flume tutorial - Apache Flume offers interceptors as a way of modifying records (known in Flume as events)\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-interceptor-in-apache-flume\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/apache-flume\\\/what-is-interceptor-in-apache-flume\\\/#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 Interceptor in Apache Flume ? - Apache Flume","description":"What is Interceptor in Apache Flume ? - flume tutorial - Apache Flume offers interceptors as a way of modifying records (known in Flume as events)","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-interceptor-in-apache-flume\/","og_locale":"en_US","og_type":"article","og_title":"What is Interceptor in Apache Flume ? - Apache Flume","og_description":"What is Interceptor in Apache Flume ? - flume tutorial - Apache Flume offers interceptors as a way of modifying records (known in Flume as events)","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-interceptor-in-apache-flume\/","og_site_name":"Wikitechy","article_published_time":"2021-07-11T15:29:39+00:00","article_modified_time":"2021-09-15T05:43:20+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":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-interceptor-in-apache-flume\/#article","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-interceptor-in-apache-flume\/"},"author":{"name":"Editor","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757"},"headline":"What is Interceptor in Apache Flume ?","datePublished":"2021-07-11T15:29:39+00:00","dateModified":"2021-09-15T05:43:20+00:00","mainEntityOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-interceptor-in-apache-flume\/"},"wordCount":96,"commentCount":0,"image":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-interceptor-in-apache-flume\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-flume\/apache-flume-features.gif","keywords":["apache flume architecture","apache flume example","apache flume tutorial","apache flume use cases","flume configuration file example","flume hadoop example","flume http source","flume interceptor example","flume interceptor regex","flume interceptor static","flume java api example","flume kafka source","flume tutorial cloudera","how to add interceptor in flume","Wells Fargo interview questions and answers","which of the following is not a supplied interceptor?"],"articleSection":["Apache Flume"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-interceptor-in-apache-flume\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-interceptor-in-apache-flume\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-interceptor-in-apache-flume\/","name":"What is Interceptor in Apache Flume ? - Apache Flume","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-interceptor-in-apache-flume\/#primaryimage"},"image":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-interceptor-in-apache-flume\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.wikitechy.com\/interview-questions\/apache-flume\/apache-flume-features.gif","datePublished":"2021-07-11T15:29:39+00:00","dateModified":"2021-09-15T05:43:20+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757"},"description":"What is Interceptor in Apache Flume ? - flume tutorial - Apache Flume offers interceptors as a way of modifying records (known in Flume as events)","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-interceptor-in-apache-flume\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.wikitechy.com\/interview-questions\/apache-flume\/what-is-interceptor-in-apache-flume\/#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\/132","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=132"}],"version-history":[{"count":6,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/132\/revisions"}],"predecessor-version":[{"id":3795,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/132\/revisions\/3795"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}