如何看暴风雨中的输入和输出 [英] How to see the input and output in storm
本文介绍了如何看暴风雨中的输入和输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经安装了Apache Storm,还执行了示例字数拓扑.但是没有显示输入或输出.我怎么看?
I have installed Apache Storm and also executed the example word count topology. But there was no input or output shown. How can I see it?
推荐答案
基本理解
- The manual is a must-read, especially the Concepts section will help you to get a basic understanding.
- You should not only install the example topology for word count, you should also read the appendant tutorial.
输入/输出
- 您的最后一个螺栓应将输出运输到目的地.那可能是数据库,服务...
- 您可以像在其他任何Java应用程序中一样使用日志记录.
- 如果您使用的是 Trident API ,则有一个 Debug 过滤器,您可以对其进行集成进入您的拓扑.
- Your last bolt should transport the output to the destination. That might be a database, service, ...
- You may use logging as in any other Java application.
- If you're using the Trident API, there is a Debug filter, which you can integrate into your topology.
这篇关于如何看暴风雨中的输入和输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文