How can I understand, from a custom component (e.g. SearchComponent, ResponseWriter) if I am running in SolrCloud mode or not?
SearchComponent
ResponseWriter
SolrCloud
I think this is the answer (from DistributedUpdateProcessor):
coreDescriptor.getCoreContainer().isZooKeeperAware();