You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by Sijie Guo <gu...@gmail.com> on 2019/10/22 15:38:47 UTC

Re: geo-replication can't work

Hi liuchang,

Can you share the commands that you used for creating the clusters? So we
can understand how did you configure the clusters.

Thanks,
Sijie

On Tue, Oct 22, 2019 at 9:06 PM 孙刘昌(sunliuchang) <su...@wifi.com>
wrote:

> Hi  guys
>
>
>
> Now I setup two pulsar clusters , one  pulsar-cluster-jh ,another :
> pulsar-cluster-wx
>
>
>
> Want to use the geo-replication function .
>
>
>
> The zk of global-confication is OK,
>
>
>
> The tenat ,namespace,topic creation result can be found on each side .
>
>
>
> Now I try to test the geo-replication ,the data generate in WX, can be
> subscribe in WX bu JH.
>
>
>
> On the way ,the data can’t be subscribe in WX which create in JH.
>
>
>
> I check the global zk,there is OK,and the broker log don’t display any
> message about transfer data from one cluster to another ,
>
>
>
> Can some help on it ?
>
>
>
>
>
>
>
> My command:
>
>
>
>
>
> bin/pulsar-admin tenants create zhuyuanzhang  --allowed-clusters
> pulsar-cluster-jh,pulsar-cluster-wx
>
>
>
>   bin/pulsar-admin namespaces create zhuyuanzhang/xyda --clusters
> pulsar-cluster-jh,pulsar-cluster-wx
>
>
>
>
>
>
>
>   bin/pulsar-client  consume -s "sub-jh”  zhuyuanzhang/xyda/t1 -n 0
>
>
>
>   bin/pulsar-client  consume -s "sub-wx”  zhuyuanzhang/xyda/t1 -n 0
>
>
>
>   bin/pulsar-client produce  zhuyuanzhang/xyda/t1  --messages
> "hello-from-wuxi" -n 10
>
>
>
>
>
>
>
> the globale ZK
>
>
>
>
>
>
>
>
> 本邮件及其附件含有保密信息并受法律保护。如果您错收了本邮件,请勿出于任何目的使用、阅读、复制、打印、存储或向任何人披露本邮件及其附件所含信息,并请您即刻将此误发情形通知发件人,并将本邮件从系统中永久删除,谢谢。
>
>
>
>