AHeise commented on a change in pull request #10029: [FLINK-14553][runtime]
Respect non-blocking output in StreamTask#processInput
URL: https://github.com/apache/flink/pull/10029#discussion_r343310125
##########
File path:
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/OperatorChain.java
##########
@@ -106,7 +107,7 @@
public OperatorChain(
StreamTask<OUT, OP> containingTask,
-
List<RecordWriter<SerializationDelegate<StreamRecord<OUT>>>> recordWriters) {
+
RecordWriterDelegate<SerializationDelegate<StreamRecord<OUT>>>
recordWriterDelegate) {
Review comment:
Just an idea, not sure if this is too specific.
```java
public interface RecordWriterDelegate<OUT> extends AvailabilityProvider,
AutoCloseable {
RecordWriter<SerializationDelegate<StreamRecord<OUT>>>
getRecordWriter(int outputIndex);
}
```
Then the signature of the Operator ctor would be
```java
public OperatorChain(
StreamTask<OUT, OP> containingTask,
RecordWriterDelegate<OUT> recordWriters) {
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services