docs: @Nullable
  	private static NettyConfig createNettyConfig(
  		Configuration configuration,
  		boolean localTaskManagerCommunication,
  		InetAddress taskManagerAddress,
  		int dataport) {
  
  		final NettyConfig nettyConfig;
  		if (!localTaskManagerCommunication) {
  			final InetSocketAddress taskManagerInetSocketAddress = new InetSocketAddress(taskManagerAddress, dataport);
  
  			nettyConfig = new NettyConfig(taskManagerInetSocketAddress.getAddress(), taskManagerInetSocketAddress.getPort(),
  				getPageSize(configuration), ConfigurationParserUtils.getSlot(configuration), configuration);
  		} else {
  			nettyConfig = null;
  		}
  
  		return nettyConfig;
  	}