geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Smith <dsm...@pivotal.io>
Subject Re: Geode Module Configuration
Date Wed, 09 Aug 2017 23:38:48 GMT
There is no global configuration for lucene right now.

Adding extensions to the cache.xml *looks* like it should be possible.
InternalCache implements Extensible<Cache> which means that theoretically
you should be able to call
InternalCache.getExtensionPoint.addExtension(yourXmlParser). That whole
Extensible stuff is really just used for cache.xml parsing and generation.

The question is just how to add it before the cache actually parses the
cache.xml file. I think if you implement CacheService and provide the
appropriate configuration file in your META_INF directory, your service
should get loaded early in cache creation and get a chance to register
itself as an Extension.

-Dan

On Wed, Aug 9, 2017 at 4:24 PM, Brian Rowe <browe@pivotal.io> wrote:

> Hi all,
>
> We are interested in adding some configuration parameters for the new
> (pre-alpha) client-server protocol that lives in geode-protobuf. We're
> curious if there is a good way to keep configuration out of geode-core
> while still allowing users to set it conveniently.
>
> It looks like for geode-lucene, there is some per-region configuration that
> gets added to cache.xml files. Is there any global configuration?
>
> Thanks,
> Brian Rowe and Galen O'Sullivan
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message