Guest User

Untitled

a guest
Oct 17th, 2018
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. public void nextTuple(){
  2. ...
  3. _collector.emit(new Values(tuple), tupleId);
  4. }
  5.  
  6. @Override
  7. publci void ack(Object msgId) { super.ack(msgId); }
  8.  
  9. public void execute(Tuple tuple){
  10. ...
  11. _collector.emit(tuple, new Values(newTuple));
  12. _collector.ack(tuple);
  13. }
  14.  
  15. Config conf = new Config();
  16. conf.setMaxSpoutPending(100);
Add Comment
Please, Sign In to add comment