use of com.alibaba.jstorm.batch.IPostCommit in project jstorm by alibaba.
the class CoordinatedBolt method handlePostCommit.
public void handlePostCommit(Tuple tuple) {
basicCollector.setContext(tuple);
try {
BatchId id = (BatchId) tuple.getValue(0);
((IPostCommit) delegate).postCommit(id, basicCollector);
} catch (Exception e) {
LOG.info("Failed to do postCommit,", e);
}
collector.ack(tuple);
}
Aggregations