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

Wencong Liu commented on FLINK-30774:
-------------------------------------

Hello [~mapohl]. I think your proposal is reasonable! But I have a question. 
Currently many utility classes exists in the path 
"flink-core/src/main/java/org/apache/flink/util". Some of them are only used in 
the module flink-core, others are used in the modules depending on flink-core. 
How do we sift the classes moved to the flink-utils module? Or we just simply 
move all of them to the module flink-util.

> 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