SOLR-15215: SolrJ: Remove Netty dependency
Netty is an optional dependency of Zookeeper; one must opt-in to use it. Netty remains a solr-core dependency transitively via Hadoop/HDFS.
https://issues.apache.org/jira/browse/SOLR-15215
I put them in https://issues.apache.org/jira/browse/SOLR-13665. And the reason was to enable secure connections with Zookeeper.
- To be able to use secure solr-zk communication with SSL, netty libs are needed on client side
- Solr hosts themselves use solrj to talk to zookeeper, so they need to be available on the host
See https://issues.apache.org/jira/browse/SOLR-7893 for plans to document how to enable this. If netty is not shipped with Solr, then this needs to be a plugin. Actually I think this would make a good candidate for a package "solrj-zk-netty", which would simply contain the needed jar files and make them available to solrj, which can then talk SSL with Zookeeper.
Problem with removing it before we have an alternative ready is that people already rely on it, see https://issues.apache.org/jira/browse/SOLR-14027 which is a bug report about Admin UI ZK screen not working when using SSL against Zookeeper.
这是来自QQ邮箱的假期自动回复邮件。您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。