pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] ambition119 commented on issue #3373: pulsar/master branch run SampleProducer class occur RemotelyClosedException: Remotely closed
Date Thu, 17 Jan 2019 02:09:05 GMT
ambition119 commented on issue #3373: pulsar/master branch run SampleProducer class occur RemotelyClosedException:
Remotely closed
URL: https://github.com/apache/pulsar/issues/3373#issuecomment-455015521
 
 
   ok, I can fix this
   
   > @ambition119
   > 
   > [pulsar/pulsar-client/src/test/java/org/apache/pulsar/client/tutorial/SampleProducer.java](https://github.com/apache/pulsar/blob/8b2929b3e5403fb44653976dc74be287666f7b96/pulsar-client/src/test/java/org/apache/pulsar/client/tutorial/SampleProducer.java#L29)
   > 
   > Line 29 in [8b2929b](/apache/pulsar/commit/8b2929b3e5403fb44653976dc74be287666f7b96)
   > 
   >  PulsarClient client = PulsarClient.builder().serviceUrl("http://localhost:6650").build();

   > I think the url provided in SampleProducer is wrong.
   > 
   > it should be either:
   > 
   > * `http://localhost:8080`
   >   or
   > * `pulsar://localhost:6650`
   > 
   > Are you interested in contributing a fix for that?
   
   I fix [SampleConsumer.java](https://github.com/apache/pulsar/issues/3369) and SampleProducer.java

----------------------------------------------------------------
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

Mime
View raw message