merlimat commented on a change in pull request #1553: Pulsar 2.0 docs
URL: https://github.com/apache/incubator-pulsar/pull/1553#discussion_r184608578
 
 

 ##########
 File path: site/docs/latest/getting-started/LocalCluster.md
 ##########
 @@ -86,30 +83,26 @@ Here's an example producer for a Pulsar {% popover topic 
%} using the [Java](../
 
 ```java
 String localClusterUrl = "pulsar://localhost:6650";
-String namespace = "sample/standalone/ns1"; // This namespace is created 
automatically
-String topic = String.format("persistent://%s/my-topic", namespace);
 
 PulsarClient client = PulsarClient.create(localClusterUrl);
 
 Review comment:
   We should convert this example to new API

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to