Nifi 模板

 

 Acqusition_and_Processing.xmlMoving templates to own directory to make repo cleaner
 CADF_Parser.xmlMoving templates to own directory to make repo cleaner6 months ago
 CassandraProcessors.xmlAdding templates for processors released in NiFi 0.6.03 months ago
 Convert_To_Avro_From_CSV_and_JSON.xmlAdded a template showcasing Avro processors6 months ago
 Decompression_Circular_Flow.xmlMoving templates to own directory to make repo cleaner6 months ago
 Decrypt_Alter_Encrypt_OpenSSL.xmlMoving templates to own directory to make repo cleaner6 months ago
 ElasticsearchDemonstration.xmlAdding templates for processors released in NiFi 0.6.03 months ago
 Fun_with_HBase.xmlUpdating the Fun_with_HBase templatea month ago
 GetFileEncodingInFlight.xmlMoving templates to own directory to make repo cleaner6 months ago
 Get_CSV_data_validate_it_and_route_to_Kafka.xmlMoving templates to own directory to make repo cleaner6 months ago
 GroovyJsonToJsonExample.xmlAdded ExecuteScript example using Groovy for JSON-to-JSON transform4 months ago
 HandleNifiReports.xmlAdding Ambari report handler template3 months ago
 Hello_NiFi_Web_Service.xmlAdding new templates6 months ago
 HttpExecuteLsCommand.xmlMoving templates to own directory to make repo cleaner6 months ago
 InvokeHttp_And_Route_Original_On_Status.xmlFixing InvokeHttp_And_Route_Original_On_Status.xml template6 months ago
 List_and_Fetch_SFTP_template.xmlForgot to add template6 months ago
 MongoDB_Get_and_Put_Example.xmlAdded a MongoDB template5 months ago
 NetworkActvityExample.xmlMoving templates to own directory to make repo cleaner6 months ago
 PostHTTP_Content-Type.xmlAdding the PostHTTP_Content-Type template that demonstrates how to sp…6 months ago
 Publish_Consume_JMS.xmlAdding templates for processors released in NiFi 0.6.03 months ago
 Pull_from_Twitter_Garden_Hose.xmlMoving templates to own directory to make repo cleaner6 months ago
 ReplaceText_Expression_Language_CSV_Reformatting.xmlMoving templates to own directory to make repo cleaner6 months ago
 Retry_Count_Loop.xmlMoving templates to own directory to make repo cleaner6 months ago
 Self_Referencing_Http_Client_and_Server.xmlMoving templates to own directory to make repo cleaner6 months ago
 SplitRouteMerge.xmlMoving templates to own directory to make repo cleaner6 months ago
 SplitRouteMergeVsRouteText.xmlMoving templates to own directory to make repo cleaner6 months ago
 Splunk_Processors_with_Listen_TCP.xmlAdding templates for processors released in NiFi 0.6.03 months ago
 Stress_Test_Framework.xmlMoving templates to own directory to make repo cleaner6 months ago
 SyslogExample.xmlMoving templates to own directory to make repo cleaner6 months ago
 Syslog_HBase.xmlAdding new templates6 months ago
 Twitter_Dashboard.xmlAdding new templates6 months ago
 Twitter_Solr.xmlMoving templates to own directory to make repo cleaner6 months ago
 WebCrawler.xmlUpdate WebCrawler.xml3 months ago
 Web_Scraper_Sample.xmlTouching up Web_Scraper_Sample.xml3 months ago
 Working_With_CSV.xmlMoving templates to own directory to make repo cleaner6 months ago
 Working_with_Logs.xmlMoving templates to own directory to make repo cleaner6 months ago
 csv-to-json-flow.xmlMoving templates to own directory to make repo cleaner6 months ago
 pgp_encryption.xmlAdding template to demonstrate PGP Encrypt/Decrypt. Credit to Andrew …3 months ago
 replacetextwithmapping-example.xmlAdding a simple example using the ReplaceTextWithMapping processor. C…3 months ago
 self_reference_flow_fix.xmlMoving templates to own directory to make repo cleaner6 months ago
collect-stream-logs

This flow shows workflow for log collection, aggregation, store and display.

  1. Ingest logs from folders.
  2. Listen for syslogs on UDP port.
  3. Merge syslogs and drop-in logs and persist merged logs to Solr for historical search.
  4. Dashboard: stream real-time log events to dashboard and enable cross-filter search on historical logs data.
csv-to-json

This flow shows how to convert a CSV entry to a JSON document using ExtractText and ReplaceText.

decompression

This flow demonstrates taking an archive that is created with several levels of compression and then continuously decompressing it using a loop until the archived file is extracted out.

http-get-route

his flow pulls from a web service (example is nifi itself), extracts text from a specific section, makes a routing decision on that extracted value, prepares to write to disk using PutFile.

invoke-http-route

This flow demonstrates how to call an HTTP service based on an incoming FlowFile, and route the original FlowFile based on the status code returned from the invocation. In this example, every 30 seconds a FlowFile is produced, an attribute is added to the FlowFile that sets q=nifi, the google.com is invoked for that FlowFile, and any response with a 200 is routed to a relationship called 200.

retry-count-loop

This process group can be used to maintain a count of how many times a flowfile goes through it. If it reaches some configured threshold it will route to a 'Limit Exceeded' relationship otherwise it will route to 'retry'. Great for processes which you only want to run X number of times before you give up.

split-route

This flow demonstrates splitting a file on line boundaries, routing the splits based on a regex in the content, merging the less important files together for storage somewhere, and sending the higher priority files down another path to take immediate action.

twitter-garden-hose

This flow pulls from Twitter using the garden hose setting; it pulls out some basic attributes from the Json and then routes only those items that are actually tweets.

twitter-solr

This flow shows how to index tweets with Solr using NiFi. Pre-requisites for this flow are NiFi 0.3.0 or later, the creation of a Twitter application, and a running instance of Solr 5.1 or later with a tweets collection. Here are sample steps to set this up (along with Banana dashboard) on HDP Sandbox.

 

 

 

NIFI 中国社区 QQ群:595034369

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值