kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j.lammerts@chello.nl <j.lamme...@chello.nl>
Subject Re: Can't see topics anymore after upgrade from 1.1 to 2.2.1
Date Tue, 04 Jun 2019 08:41:53 GMT
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" <manmedia@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.lammerts@chello.nl <j.lammerts@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 ?
> >
> 

Mime
View raw message