You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Steven Zhen Wu (Jira)" <ji...@apache.org> on 2020/03/11 23:51:00 UTC

[jira] [Reopened] (FLINK-15907) expose getRawValue as protected in Configuration so that user can override it

     [ https://issues.apache.org/jira/browse/FLINK-15907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Zhen Wu reopened FLINK-15907:
------------------------------------

[~aljoscha]  [~dwysakowicz]  I like to reopen the discussion. 

I mentioned in the PR that we can work around by just transferring properties into Flink {{Configuration}} by calling {{Configuration#setString(String key, String value)}}.

However, it will be nicer for us to extend if Flink can expose `getRawValue` or `ReadableConfigToConfigurationAdapter`. Then we don't have to copy properties.

 

> expose getRawValue as protected in Configuration so that user can override it
> -----------------------------------------------------------------------------
>
>                 Key: FLINK-15907
>                 URL: https://issues.apache.org/jira/browse/FLINK-15907
>             Project: Flink
>          Issue Type: Improvement
>          Components: Runtime / Configuration
>    Affects Versions: 1.9.2
>            Reporter: Steven Zhen Wu
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> We use Archaius for configuration internally: https://github.com/Netflix/archaius
> It will be nice to expose this methods as *_protected_* so that we can override and forward to Archaius.
> {code}
> private Optional<Object> getRawValue(String key) 
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)