AHeise commented on a change in pull request #11098: [FLINK-16060][task]
Implement working StreamMultipleInputProcessor
URL: https://github.com/apache/flink/pull/11098#discussion_r383178461
##########
File path:
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/graph/StreamConfig.java
##########
@@ -158,12 +158,11 @@ public TimeCharacteristic getTimeCharacteristic() {
}
}
- public void setTypeSerializerIn1(TypeSerializer<?> serializer) {
- setTypeSerializer(TYPE_SERIALIZER_IN_1, serializer);
- }
-
- public void setTypeSerializerIn2(TypeSerializer<?> serializer) {
- setTypeSerializer(TYPE_SERIALIZER_IN_2, serializer);
+ public void setTypeSerializersIn(TypeSerializer<?> ...serializers) {
+ config.setInteger(TYPE_SERIALIZERS_IN_COUNT,
serializers.length);
+ for (int i = 0; i < serializers.length; i++) {
Review comment:
Start at 1 for backwards compatibility?
----------------------------------------------------------------
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