Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-30715 FLIP-289: Support Online Inference
  3. FLINK-31126

Move classes not depending on Flink runtime from flink-ml-core to flink-ml-servable-core

    XMLWordPrintableJSON

Details

    Description

      We would like to be able to deploy servable classes on edge devices (e.g. phone) with minimal library dependencies and memory footprint. Thus flink-ml-servable-lib module, which contains the servable classes such as KMeansServable, should not depend on Flink runtime modules (e.g. flink-table-runtime).

      We need to do the following to achieve this goal:

      • Keep the classes (e.g. AlgoOperator) whose API depends on Flink runtime classes (e.g. Table, DataStream) in flink-ml-core. Move the remaining classes from flink-ml-core to flink-ml-servable-core.
      • flink-ml-core and all modules that currently depend on flink-ml-core should now depend on flink-ml-servable-core.
      • flink-ml-servable-lib should depend on flink-ml-servable-core but not flink-ml-core.

      Attachments

        Issue Links

          Activity

            People

              lindong Dong Lin
              lindong Dong Lin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: