Class PekkoRpcSystem

java.lang.Object
org.apache.flink.runtime.rpc.pekko.PekkoRpcSystem
All Implemented Interfaces:
AutoCloseable, org.apache.flink.runtime.rpc.RpcSystem, org.apache.flink.runtime.rpc.RpcSystemUtils

public class PekkoRpcSystem extends Object implements org.apache.flink.runtime.rpc.RpcSystem
RpcSystem implementation based on Pekko.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.flink.runtime.rpc.RpcSystem

    org.apache.flink.runtime.rpc.RpcSystem.FixedThreadPoolExecutorConfiguration, org.apache.flink.runtime.rpc.RpcSystem.ForkJoinExecutorConfiguration, org.apache.flink.runtime.rpc.RpcSystem.RpcServiceBuilder
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    getMaximumMessageSizeInBytes(org.apache.flink.configuration.Configuration config)
     
    getRpcUrl(String hostname, int port, String endpointName, org.apache.flink.runtime.rpc.AddressResolution addressResolution, org.apache.flink.configuration.Configuration config)
     
    org.apache.flink.runtime.rpc.RpcSystem.RpcServiceBuilder
    localServiceBuilder(org.apache.flink.configuration.Configuration configuration)
     
    org.apache.flink.runtime.rpc.RpcSystem.RpcServiceBuilder
    remoteServiceBuilder(org.apache.flink.configuration.Configuration configuration, String externalAddress, String externalPortRange)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.flink.runtime.rpc.RpcSystem

    close
  • Constructor Details

    • PekkoRpcSystem

      public PekkoRpcSystem()
  • Method Details

    • localServiceBuilder

      public org.apache.flink.runtime.rpc.RpcSystem.RpcServiceBuilder localServiceBuilder(org.apache.flink.configuration.Configuration configuration)
      Specified by:
      localServiceBuilder in interface org.apache.flink.runtime.rpc.RpcSystem
    • remoteServiceBuilder

      public org.apache.flink.runtime.rpc.RpcSystem.RpcServiceBuilder remoteServiceBuilder(org.apache.flink.configuration.Configuration configuration, @Nullable String externalAddress, String externalPortRange)
      Specified by:
      remoteServiceBuilder in interface org.apache.flink.runtime.rpc.RpcSystem
    • getInetSocketAddressFromRpcUrl

      public InetSocketAddress getInetSocketAddressFromRpcUrl(String url) throws Exception
      Specified by:
      getInetSocketAddressFromRpcUrl in interface org.apache.flink.runtime.rpc.RpcSystemUtils
      Throws:
      Exception
    • getRpcUrl

      public String getRpcUrl(String hostname, int port, String endpointName, org.apache.flink.runtime.rpc.AddressResolution addressResolution, org.apache.flink.configuration.Configuration config) throws UnknownHostException
      Specified by:
      getRpcUrl in interface org.apache.flink.runtime.rpc.RpcSystemUtils
      Throws:
      UnknownHostException
    • getMaximumMessageSizeInBytes

      public long getMaximumMessageSizeInBytes(org.apache.flink.configuration.Configuration config)
      Specified by:
      getMaximumMessageSizeInBytes in interface org.apache.flink.runtime.rpc.RpcSystemUtils