MishaKut commented on issue #10643:
URL: https://github.com/apache/pulsar/issues/10643#issuecomment-846949594


   > Hi @MishaKut, looks like the broker is not started?
   
   HI! Looks like you are right. This the only information I have...
   I tried to initiate time out after an initialization of broker to give some 
time to start or throw more specific error. But nothing changed - 
initialization of producer still fails. But I do not get any errors due to 
broker... 
   
   code example with timeout:
   
   `
   
              client = PulsarClient.builder().serviceUrl(localClusterUrl)
                       .build();
   
              Thread.sleep(60_000);
   
               producer = client
                       .newProducer()
                       .topic("my-topic")
                       .create();
   `


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to