运行的拓扑解析--worker,executor,task      
allen2660 +
    

运行的拓扑解析--worker,executor,task

本文为Storm官方文档What makes a running topology的读书笔记

为了在Storm集群中运行一个拓扑,Storm中有下面三个不同的实体:

  1. Worker processes
  2. Executors(threads)
  3. Tasks

Configuring the parallelism of a topology

worker processes数目

executors(threads)数目

tasks数目

Example of a running topology

How to change the parallelism of a running topology

  1. 使用Storm web UI来rebalance
  2. 使用CLI来rebalance

参考

点击查看评论