例如
topology.newStream("process", new RawDataSpout())
.parallelismHint(1)
.shuffle()
.each(new Fields("frameID"), new RawToRgb(), new Fields("frameIDRawToRgbCompleted"))
.parallelismHint(1)
.shuffle()
.each(new Fields("frameID", "frameIDRawToRgbCompleted"), new StereoInit(), new Fields("frameIDInitCompleted"))
.parallelismHint(1)
.setMemoryLoad(6144)
.shuffle()
.each(new Fields("frameID", "frameIDRawToRgbCompleted", "frameIDInitCompleted"), new StereoRing(), new Fields("frameIDRingCompleted"))
.parallelismHint(1)
.shuffle()
.each(new Fields("frameID", "frameIDRawToRgbCompleted", "frameIDInitCompleted", "frameIDRingCompleted"), new Rendering(), new Fields("frameIDRenderingCompleted"))
.parallelismHint(1)
.setMemoryLoad(6144);
如上面的代码,一台主机可以同时运行 StereoInit 和 Rendering 吗?