You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Michal Haris <mi...@visualdna.com> on 2013/07/13 01:30:31 UTC
Running Kafka 0.7 and 0.8 parallel
Hi guys,
Is it possible to have both 0.7 and 0.8 clients running within same process
? We would like to migrate to 0.8 only some of the topics initially so we
would need some consumers to have connection to both clusters. I remember a
mention of migration tool that consumes from 0.7 and produces to 0.8 but my
question is whether consumer libraries from these 2 versions could coexist.
Thanks,
Michal
Re: Running Kafka 0.7 and 0.8 parallel
Posted by Jason Rosenberg <jb...@squareup.com>.
0.7 and 0.8 have mostly the same package/class names, so you have to shade
one of the jars if you want them to both be loaded and executable in the
same jvm process. I've done this in my consumers (e.g. my consumers
consume from both 0.7 and 0.8 during the transition). I chose to run
separate kafka instances for 0.7 and 0.8, and not attempt to do any
forwarding from 0.7 to 0.8 during the migration.
So far so good...
Jason
On Fri, Jul 12, 2013 at 4:30 PM, Michal Haris <mi...@visualdna.com>wrote:
> Hi guys,
>
> Is it possible to have both 0.7 and 0.8 clients running within same process
> ? We would like to migrate to 0.8 only some of the topics initially so we
> would need some consumers to have connection to both clusters. I remember a
> mention of migration tool that consumes from 0.7 and produces to 0.8 but my
> question is whether consumer libraries from these 2 versions could
> coexist.
>
> Thanks,
> Michal
>