[ https://issues.apache.org/jira/browse/KAFKA-2897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15028868#comment-15028868 ]
Yuval Steinbegr commented on KAFKA-2897: ---------------------------------------- Basically yes - solving it with Kafka 0.9.x is fine, however can you please provide me a workaround to handle the case without yet upgrading to 0.9.x? Will explicitly using zkclient 0.5 (by excluding from dependency and adding an explicit dependency) is acceptable and expected to work? > Class NIOServerCnxn$Factory not found due to mismatch in dependencies > --------------------------------------------------------------------- > > Key: KAFKA-2897 > URL: https://issues.apache.org/jira/browse/KAFKA-2897 > Project: Kafka > Issue Type: Bug > Reporter: Yuval Steinbegr > Priority: Trivial > > It seems that there is a mismatch between zookeeper & zkclient in kafka > pom.xml causes this error upon initialization: > The pom file (e.g. of kafka_2.10:0.8.2.1) requires zookeeper:3.4.6 & > zkclient:0.3, However: > * While zookeeper:3.3.x had a class NIOServerCnxn$Factory, in 3.4.x it became > an independent class (NIOServerCnxnFactory) > * ZkServer class of zkclient:0.3 is still using (importing) > NIOServerCnxn.Factory and only in 0.5 changes to use NIOServerCnxnFactory. > It seems that the version of zkclient in the pom file should be updated -- This message was sent by Atlassian JIRA (v6.3.4#6332)