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/10/12 07:11:49 UTC

[GitHub] [pulsar-client-go] xujianhai666 commented on a change in pull request #69: [ISSUE #68][feat]add Option config for init (#68)

xujianhai666 commented on a change in pull request #69: [ISSUE #68][feat]add Option config for init (#68)
URL: https://github.com/apache/pulsar-client-go/pull/69#discussion_r334224839
 
 

 ##########
 File path: README.md
 ##########
 @@ -60,9 +60,7 @@ client, err := pulsar.NewClient(pulsar.ClientOptions{
 
 defer client.Close()
 
-producer, err := client.CreateProducer(pulsar.ProducerOptions{
-	Topic: "my-topic",
-})
+producer, err := client.CreateProducer("my-topic")
 
 Review comment:
   @wolfstudy done

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services