[ https://issues.apache.org/jira/browse/FLINK-31126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dong Lin updated FLINK-31126: ----------------------------- Description: We would like to be able to deploy servable classes on edge devices (e.g. phone) with minimal library dependencies and memory foot print. 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. was: The Java module containing the servable classes (e.g. KMeansServable) should not have to depend on Flink runtime. This is because we want to minimize the library size so that servable classes can be deployed on edge devices (e.g. phone) with minimal memory footprint. In order to achieve this goal, we need to move the classes depending on > Move classes not dependenting on Flink runtime from flink-ml-core to > flink-ml-servable-core > ------------------------------------------------------------------------------------------- > > Key: FLINK-31126 > URL: https://issues.apache.org/jira/browse/FLINK-31126 > Project: Flink > Issue Type: Sub-task > Reporter: Dong Lin > Assignee: Dong Lin > Priority: Major > > We would like to be able to deploy servable classes on edge devices (e.g. > phone) with minimal library dependencies and memory foot print. 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. -- This message was sent by Atlassian Jira (v8.20.10#820010)