Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-14052

Generalize AkkaOptions to RpcOptions

    XMLWordPrintableJSON

Details

    Description

      At the moment Flink's rpc configuration options are based on Akka specific configuration options defined in AkkaOptions. For example, the rpc timeout is configured via akka.ask.timeout. This has historical reasons because we introduced the RpcService after using Akka directly for rpc communication.

      I think this confusing for users since the fact that we use Akka should only be an implementation detail. Instead we should have general rpc configuration options such as rpc.timeout which apply to all RpcService implementations and implementation specific configuration options such as rpc.akka.transport.heartbeat.interval.

      Within the scope of this issue we could also rethink whether we don't copy the Akka specific configuration options names. For example rpc.akka.transport.heartbeat.interval should then be called rpc.akka.transport-failure-detector.heartbeat-interval. That way it would also be easy to simply parse and set them.

      As a first step we need to list all RPC relevant configuration options currently used and decide whether it a RPC general option or an Akka specific one.

      Attachments

        Activity

          People

            Unassigned Unassigned
            trohrmann Till Rohrmann
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: