.stateQuery(count, new Fields("followerClass", "contentName"), new MapGet(), new Fields("count"))
.groupBy(new Fields("followerClass"))
.aggregate(new Fields("contentName", "count"), new FirstN.FirstNSortedAgg(1,"count", true), new Fields("contentName", "count"))
;
return topology.build();
}
public static void main(String[] args) throws Exception {
Config conf = new Config();