You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/01/05 08:05:17 UTC

[GitHub] JevonQ commented on issue #3303: [Question] A few questions on using Pulsar in different scenarios

JevonQ commented on issue #3303: [Question] A few questions on using Pulsar in different scenarios
URL: https://github.com/apache/pulsar/issues/3303#issuecomment-451636602
 
 
   @sijie Thanks for your reply, but I'm still not clear. 
   
   For the multi-clusters environment like I given in my previous question, suppose I have a domain name named pulsar.east-china.com which is provided for pulsar client to use, so how should I set the A record in DNS server for pulsar.east-china.com? I don't think it can work if I config DNS as follows:
   pulsar.east-china.com    IN  A  B1-ip-address
   pulsar.east-china.com    IN  A  B2-ip-address
   pulsar.east-china.com    IN  A  B3-ip-address
   
   That's because none of brokers has the instance-wide metadata. Let's think of this case, if a pulsar client is created with pulsar.east-china.com and the DNS server return B2-ip-address to the client, then it will make a connection with B2. If the client continue to create a Consumer on T3 which is owned by B3, B2 will not find the topic and return an error?
   
   For a single cluster environment, if I use the built-in discovery service, what address should I use for web-service-url and broker-service-url while executing initialize-cluster-metadata?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services