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/07/08 16:17:47 UTC

[GitHub] [pulsar] merlimat commented on a change in pull request #4690: [] [site2/docs] python api reader interface example correction to documentation

merlimat commented on a change in pull request #4690: [] [site2/docs] python api reader interface example correction to documentation
URL: https://github.com/apache/pulsar/pull/4690#discussion_r301182871
 
 

 ##########
 File path: site/docs/latest/clients/Python.md
 ##########
 @@ -110,7 +110,7 @@ msg_id = msg.message_id()
 reader = client.create_reader('my-topic', msg_id)
 
 while True:
-    msg = reader.receive()
+    msg = reader.read-next()
 
 Review comment:
   ```suggestion
       msg = reader.read_next()
   ```

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