sunhaibotb commented on a change in pull request #8742: [FLINK-11879] Add
validators for the uses of InputSelectable, BoundedOneInput and
BoundedMultiInput
URL: https://github.com/apache/flink/pull/8742#discussion_r301370513
##########
File path:
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/StreamTask.java
##########
@@ -337,6 +338,9 @@ public final void invoke() throws Exception {
operatorChain = new OperatorChain<>(this,
recordWriters);
headOperator = operatorChain.getHeadOperator();
+ // check environment for selective reading
+ checkSelectiveReadingEnv();
Review comment:
I'm not sure if what you're talking about is the first way I said. If yes, I
don't think it's necessary to add a boolean field to the job graph for the
checking logic which will be removed in the future. If not, I understand you're
talking about the second way as I said, that `StreamOperatorFactory` needs to
be deserialized from `StreamConfig` on the JM side, which will increase the
cost ( Please note that JM currently does not need to deserialize
`StreamConfig`). If neither method is not, I don't know what your proposal is
like.
----------------------------------------------------------------
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