Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void nextTuple(){
- ...
- _collector.emit(new Values(tuple), tupleId);
- }
- @Override
- publci void ack(Object msgId) { super.ack(msgId); }
- public void execute(Tuple tuple){
- ...
- _collector.emit(tuple, new Values(newTuple));
- _collector.ack(tuple);
- }
- Config conf = new Config();
- conf.setMaxSpoutPending(100);
Add Comment
Please, Sign In to add comment