Fields Grouping

2021SC@SDUSC
代码为例:
public class Toplogy {

public static void main(String[] args) {

TopologyBuilder builder = new TopologyBuilder();
builder.setSpout("spout", new Spot(), 1);
builder.setBolt("bolt",new Bolt() , 3).fieldsGrouping("spout", new Fields("field0"));

Config conf = new Config();
conf.setDebug(false);

LocalCluster cluster = new LocalCluster();
cluster.submitTopology("toplogy", conf, bu

Fields Grouping最先出现在Python成神之路

版权声明:
作者:zhangchen
链接:https://www.techfm.club/p/9814.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>