[ 
https://issues.apache.org/jira/browse/FLINK-30774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17680167#comment-17680167
 ] 

Chesnay Schepler commented on FLINK-30774:
------------------------------------------

The idea of splitting flink-core has been has been floating for quite a while, 
and I'd go a step further than you proposed and move everything that isn't tied 
to the processing APIs into a separate module.
Classloader stuff should go into this module since it is relevant for anything 
loaded with plugins. The core goal here is to not have auxiliary features rely 
on modules related to data processing.

> flink-utils module
> ------------------
>
>                 Key: FLINK-30774
>                 URL: https://issues.apache.org/jira/browse/FLINK-30774
>             Project: Flink
>          Issue Type: Improvement
>          Components: Build System
>    Affects Versions: 1.17.0
>            Reporter: Matthias Pohl
>            Priority: Major
>              Labels: starter
>
> Currently, utility methods generic utility classes like {{Preconditions}} or 
> {{AbstractAutoCloseableRegistry}} are collected in {{flink-core}}. The flaw 
> of this approach is that we cannot use those classes in modules like 
> {{fink-migration-test-utils}}, {{flink-test-utils-junit}}, 
> {{flink-metrics-core}} or {{flink-annotations}}.
> We might want to have a generic {{flink-utils}} analogously to 
> {{flink-test-utils}} that collects Flink-independent utility functionality 
> that can be access by any module {{flink-core}} is depending on to make this 
> utility functionality available in any Flink-related module.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to