Package com.alibaba.jstorm.task.group

Examples of com.alibaba.jstorm.task.group.MkGrouper


      return out_tasks;
    }

    for (Entry<String, MkGrouper> ee : componentCrouping.entrySet()) {
      String targetComponent = ee.getKey();
      MkGrouper g = ee.getValue();

      if (GrouperType.direct.equals(g.gettype())) {
        throw new IllegalArgumentException(
            "Cannot do regular emit to direct stream");
      }

      out_tasks.addAll(g.grouper(tuple));

    }

    if (isDebuging) {
View Full Code Here


        List<Integer> outTasks = topology_context
            .getComponentTasks(component);
        // ATTENTION: If topology set one component parallelism as 0
        // so we don't need send tuple to it
        if (outTasks.size() > 0) {
          MkGrouper grouper = new MkGrouper(topology_context,
              out_fields, tgrouping, outTasks, stream_id,
              workerData);
          componentGrouper.put(component, grouper);
        }
      }
View Full Code Here

TOP

Related Classes of com.alibaba.jstorm.task.group.MkGrouper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.