简体   繁体   English

如何使用Python在Nifi中编写自定义处理器?

[英]How to write a customized processor in Nifi using Python?

I have a kafka queue running and receiving messages. 我有一个运行和接收消息的kafka队列。 I have connected Nifi with that topic(of kafka) using ConsumeKafka api. 我已经使用ConsumeKafka api将Nifi与(kafka的)主题相关 I want to have a processor which would read this messages and apply some operations over them. 我希望有一个处理器可以读取此消息并对其进行一些操作。

Based on these needs, what would be the best way by being within Nifi? 基于这些需求,加入Nifi最好的方法是什么?

After trying a lot, this answer gave me a perfect insight. 尝试了很多之后,这个答案给了我一个完美的见解。

I will brief over here, what I did: 我将在这里简要介绍我的工作: 在此处输入图片说明

I don't think this needs an explanation. 我认为这不需要解释。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM