[jira] [Created] (IGNITE-10922) Add a way to override any configuration property via a system property

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-10922) Add a way to override any configuration property via a system property

Anton Vinogradov (Jira)
Stanislav Lukyanov created IGNITE-10922:
-------------------------------------------

             Summary: Add a way to override any configuration property via a system property
                 Key: IGNITE-10922
                 URL: https://issues.apache.org/jira/browse/IGNITE-10922
             Project: Ignite
          Issue Type: Bug
            Reporter: Stanislav Lukyanov


From time to time we introduce system properties as a shorthand way to set a specific configuration parameter, e.g. IGNITE-10921.

It would be nice to have a standard way to override any property like that.
E.g. instead of
    -DIGNITE_CONSISTENT_ID=foo
we would use something like
    -Dorg.apache.ignite.IgniteConfiguration.consistentId=foo

This mechanism should work for any configuration sections. It seems that it is rather hard to implement for complex types, but perhaps we could start by doing this for simple properties (strings, numbers, etc).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)