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/17 02:09:05 UTC

[GitHub] ambition119 commented on issue #3373: pulsar/master branch run SampleProducer class occur RemotelyClosedException: Remotely closed

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