Thanks, Issue is solved. I forgot to copy over all files from the zookeeper dataDir directory to the new 2.2.1 environment.
Cheers ! On 2019/06/03 16:54:47, "M. Manna" <manme...@gmail.com> wrote: > Zookeeper hosted topics are often not displayed if you use > bootstrap-server; aka new configs. > > Try using zookeeper. You should still see your topics. > > Thanks, > > On Mon, 3 Jun 2019 at 17:12, j.lamme...@chello.nl <j.lamme...@chello.nl> > wrote: > > > Hi, > > > > Just upgraded my Kafka test environment from 1.1 to 2.2.1. > > What I did: > > 1) Untarred Scala 2.11-Kafka 2.2.1 file in /opt directory (BTW: OS = > > CentOS 7.6) which creates directory kafka_2.11-2.2.1 > > 2) Removed symbolic link "kafka" from old environment kafka_2.11-1.1.0 > > 3) Created a new symbolic link "kafka" to the new directory > > kafka_2.11-2.2.1 > > 4) Started zookeeper (no errors) > > 5) Added inter.broker.protocol.version=1.1 to server.config > > 6) Started kafka (no errors) > > 7) From the bin directory: ./kafka-topics.sh --bootstrap-server > > localhost:9092 --list > > > > This produces an empty list (no output). > > > > Stopping kafka and kafka-zookeeper, reverting the symbolic link to the old > > environment and starting kafka-zookeeper and kafka again, followed by > > ./kafka-topics.sh --zookeeper localhost:2181 --list > > gives me all my topics again. > > > > What am I doing wrong ? > > >