提交 04a717e0 编写于 作者: G Gyula Fora 提交者: Stephan Ewen

[streaming] ack update

上级 41130d5a
......@@ -16,6 +16,7 @@ public class FaultTolerancyBuffer {
private int numberOfOutputs;
public FaultTolerancyBuffer(List<RecordWriter<Record>> outputs) {
this.outputs=outputs;
this.recordBuffer = new HashMap<String, StreamRecord>();
this.ackCounter = new HashMap<String, Integer>();
this.numberOfOutputs = outputs.size();
......
......@@ -39,6 +39,7 @@ public abstract class StreamInvokable {
} catch (Exception e) {
System.out.println("Emit error");
emittedRecords.failRecord(streamRecord.getId());
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册