You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Blake Eggleston (JIRA)" <ji...@apache.org> on 2017/10/09 17:49:00 UTC

[jira] [Commented] (CASSANDRA-13942) Open Cassandra.yaml for developers to extend custom settings

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

Blake Eggleston commented on CASSANDRA-13942:
---------------------------------------------

you should be able to achieve this by providing your own {{ConfigurationLoader}} implementation. You can't extend DatabaseDescriptor, but you would be able to configure a class referenced by your index classes.

See {{DatabaseDescriptor#loadConfig}}

> Open Cassandra.yaml for developers to extend custom settings
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-13942
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13942
>             Project: Cassandra
>          Issue Type: Wish
>          Components: Configuration
>            Reporter: zhaoyan
>
> we now try to write one index plugin for cassandra.
> we want to put some more settings in cassandra.yaml. and read it in our code.
> we find the cassandra use DatabaseDescriptor.java and Config.java to save the configurations in cassandra.yaml. but we cant extend it....
> so I advice cassandra provide some interfaces for deleopers to extend custom settings
> Thank you



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org