You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Stanislav Lukyanov (JIRA)" <ji...@apache.org> on 2019/01/14 09:20:00 UTC

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

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)