如何查看storm中的输入输出 [英] How to see the input and output in storm

查看:37
本文介绍了如何查看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?

推荐答案

基本理解

  • 手册是必读的,尤其是概念 部分将帮助您获得基本的了解.
  • 您不仅应该安装用于字数统计的示例拓扑,还应该阅读附录 tutorial.
  • 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.

这篇关于如何查看storm中的输入输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆