Skip to content

Commit

Permalink
[] [site2/docs] python api reader interface example correction to doc…
Browse files Browse the repository at this point in the history
…umentation (apache#4690)

* update master with correction to documentation for python reader

* Update site/docs/latest/clients/Python.md

Co-Authored-By: Matteo Merli <[email protected]>
  • Loading branch information
phreed and merlimat committed Jul 9, 2019
1 parent d101352 commit b291272
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion site/docs/latest/clients/Python.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
print("Received message '{}' id='{}'".format(msg.data(), msg.message_id()))
# No acknowledgment
```
2 changes: 1 addition & 1 deletion site2/docs/client-libraries-python.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ msg_id = msg.message_id()
reader = client.create_reader('my-topic', msg_id)

while True:
msg = reader.receive()
msg = reader.read_next()
print("Received message '{}' id='{}'".format(msg.data(), msg.message_id()))
# No acknowledgment
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ msg_id = msg.message_id()
reader = client.create_reader('my-topic', msg_id)

while True:
msg = reader.receive()
msg = reader.read_next()
print("Received message '{}' id='{}'".format(msg.data(), msg.message_id()))
# No acknowledgment
```
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ msg_id = msg.message_id()
reader = client.create_reader('my-topic', msg_id)

while True:
msg = reader.receive()
msg = reader.read_next()
print("Received message '{}' id='{}'".format(msg.data(), msg.message_id()))
# No acknowledgment
```
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ msg_id = msg.message_id()
reader = client.create_reader('my-topic', msg_id)

while True:
msg = reader.receive()
msg = reader.read_next()
print("Received message '{}' id='{}'".format(msg.data(), msg.message_id()))
# No acknowledgment
```
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ msg_id = msg.message_id()
reader = client.create_reader('my-topic', msg_id)

while True:
msg = reader.receive()
msg = reader.read_next()
print("Received message '{}' id='{}'".format(msg.data(), msg.message_id()))
# No acknowledgment
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ msg_id = msg.message_id()
reader = client.create_reader('my-topic', msg_id)

while True:
msg = reader.receive()
msg = reader.read_next()
print("Received message '{}' id='{}'".format(msg.data(), msg.message_id()))
# No acknowledgment
```
Expand Down

0 comments on commit b291272

Please sign in to comment.