What is the best way to upload Solr configuration files into ZooKeeper
programmatically, i.e. - from within Java code?
I know that there are cloud-scripts for this, but in the end they should
use some Java client library, don't they?
This question raised because we use special configuration system
(Java-based) to store all configuration files (not only Solr) and it'd
be cool if we could
export modified files into ZooKeeper when applying changes. We would
then reload collections remotely via REST API.
I've digged a little into ZkCli class and it seems that SolrZkClient can
do something along the lines above. Is it the right tool for the job?
Any hints would be appreciated.
Regards,
Artem.