You configure CDCR by _collection_, so this question really makes no sense. You’d never mention collection.configName. So what I suspect is that you’re misreading the docs.
<lst name="replica"> <str name="zkHost">${targetZkHost1},${targetZkHost2},${targetZkHost3}</str> <str name="source">sourceCollection_on_local_cluster</str> <str name="target">targetCollection_on_targetZkHost1 2 and 3</str> </lst> “Turning off CDCR” selective for ZooKeeper instances really makes no sense as the point of ZK ensembles is to keep running even if one goes away. So can you rephrase the question? Or state the problem you’re trying to solve another way? Best, Erick > On Aug 13, 2019, at 1:57 PM, Arnold Bronley <arnoldbron...@gmail.com> wrote: > > Hi, > > Is there a way to turn off the CDCR for only selected target clusters. > > Say, I have a configuration like following. I have 3 target clusters > targetZkHost1, targetZkHost2 and targetZkHost3. Is it possible to turn off > the CDCR for targetZkHost2 and targetZkHost3 but keep it on for > targetZkHost1? > > E.g. > > <requestHandler name="/cdcr" class="solr.CdcrRequestHandler"> > <lst name="replica"> > <str name="zkHost">${targetZkHost1}</str> > <str name="source">${collection.configName}</str> > <str name="target">${collection.configName}</str> > </lst> > > <lst name="replica"> > <str name="zkHost">${targetZkHost2}</str> > <str name="source">${collection.configName}</str> > <str name="target">${collection.configName}</str> > </lst> > > <lst name="replica"> > <str name="zkHost">${targetZkHost3}</str> > <str name="source">${collection.configName}</str> > <str name="target">${collection.configName}</str> > </lst> > > <lst name="replicator"> > <str name="threadPoolSize">8</str> > <str name="schedule">1000</str> > <str name="batchSize">128</str> > </lst> > > <lst name="updateLogSynchronizer"> > <str name="schedule">1000</str> > </lst> > > <lst name="buffer"> > <str name="defaultState">disabled</str> > </lst> > </requestHandler>