public Channel initializeOutputChannel(int index, Configuration configuration) { final ChannelDescriptor channelDescriptor = this.operator.getOutputChannelDescriptor(index); final OutputSlot<?> output = this.operator.getNumOutputs() == 0 ? null : this.operator.getOutput(index); final Channel channel = channelDescriptor.createChannel(output, configuration); this.setOutputChannel(index, channel); return channel; }
Channel sourceChannel = this.existingChannels.get(this.sourceChannelDescriptor); if (sourceChannel == null) { sourceChannel = this.sourceChannelDescriptor.createChannel(this.sourceOutput, this.optimizationContext.getConfiguration());