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

Make ClusterEntrypoint more modular

    XMLWordPrintableJSON

Details

    Description

      Currently, the ClusterEntrypoint is not very modular in the sense that it cannot be really used for testing purposes (e.g. starting a Dispatcher with a WebMonitorRestEndpoint). The problem is that the ClusterEntrypoint combines too many responsibilities (creating the cluster services, starting the cluster components and deciding on when to terminate the JVM process).

      I suggest to make the structure more compositional, meaning to split up the service generation from the cluster component start up. That way we could also remove code duplication between the different ClusterEntrypoint implementations.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: