You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by da...@bt.com on 2017/01/18 16:14:03 UTC

MirrorMaker across Kafka Clusters with different versions

Can MirrorMaker can work across different major versions of Kafka, specifically from a v10 producer to a v8 consumer?

I suspect, given that the client API is not backwards compatible, that the answer unfortunately is no.
But it would be useful to get a definitive answer on that, and any suggestions in case the answer is no.

The context is that I have a Kafka cluster at version 10 so that I can use the Kafka Connect capability.  One of the target sinks is a Kafka cluster at version 8 but I suspect Kafka Connect will not be able to communicate with this cluster because the client version doesn't match the target cluster.

There is no scope to upgrade the Kafka 8 cluster.

RE: MirrorMaker across Kafka Clusters with different versions

Posted by da...@bt.com.
Thanks for confirming that Gwen.

Best wishes,
David

-----Original Message-----
From: Gwen Shapira [mailto:gwen@confluent.io] 
Sent: 19 January 2017 20:41
To: dev@kafka.apache.org
Subject: Re: MirrorMaker across Kafka Clusters with different versions

As you figured out - 0.10 clients (including Connect and MirrorMaker) will not work against Kafka 0.8.

On the other hand, 0.8. client will work with Kafka 0.10. So you just need to use a 0.8 MirrorMaker to do the replication.

Gwen

On Wed, Jan 18, 2017 at 8:14 AM, <da...@bt.com> wrote:

> Can MirrorMaker can work across different major versions of Kafka, 
> specifically from a v10 producer to a v8 consumer?
>
> I suspect, given that the client API is not backwards compatible, that 
> the answer unfortunately is no.
> But it would be useful to get a definitive answer on that, and any 
> suggestions in case the answer is no.
>
> The context is that I have a Kafka cluster at version 10 so that I can 
> use the Kafka Connect capability.  One of the target sinks is a Kafka 
> cluster at version 8 but I suspect Kafka Connect will not be able to 
> communicate with this cluster because the client version doesn't match 
> the target cluster.
>
> There is no scope to upgrade the Kafka 8 cluster.
>



--
*Gwen Shapira*
Product Manager | Confluent
650.450.2760 | @gwenshap
Follow us: Twitter <https://twitter.com/ConfluentInc> | blog <http://www.confluent.io/blog>

Re: MirrorMaker across Kafka Clusters with different versions

Posted by Gwen Shapira <gw...@confluent.io>.
As you figured out - 0.10 clients (including Connect and MirrorMaker) will
not work against Kafka 0.8.

On the other hand, 0.8. client will work with Kafka 0.10. So you just need
to use a 0.8 MirrorMaker to do the replication.

Gwen

On Wed, Jan 18, 2017 at 8:14 AM, <da...@bt.com> wrote:

> Can MirrorMaker can work across different major versions of Kafka,
> specifically from a v10 producer to a v8 consumer?
>
> I suspect, given that the client API is not backwards compatible, that the
> answer unfortunately is no.
> But it would be useful to get a definitive answer on that, and any
> suggestions in case the answer is no.
>
> The context is that I have a Kafka cluster at version 10 so that I can use
> the Kafka Connect capability.  One of the target sinks is a Kafka cluster
> at version 8 but I suspect Kafka Connect will not be able to communicate
> with this cluster because the client version doesn't match the target
> cluster.
>
> There is no scope to upgrade the Kafka 8 cluster.
>



-- 
*Gwen Shapira*
Product Manager | Confluent
650.450.2760 | @gwenshap
Follow us: Twitter <https://twitter.com/ConfluentInc> | blog
<http://www.confluent.io/blog>