vzhikserg commented on a change in pull request #6103: Fix typo in Reader documentation. URL: https://github.com/apache/pulsar/pull/6103#discussion_r369053934
########## File path: site2/docs/client-libraries-node.md ########## @@ -284,7 +284,7 @@ Pulsar Node.js readers have the following methods available: | :----- | :---------- | :---------- | | `readNext()` | Receives the next message on the topic (analogous to the `receive` method for [consumers](#consumer-operations)). When the message is available, the Promise object run executor function and get message object. | `Promise<Object>` | | `readNext(Number)` | Receives a single message from the topic with specific timeout in milliseconds. | `Promise<Object>` | -| `hasNext()` | Return whether Proker has next message in target topic. | `Boolean` | +| `hasNext()` | Return whether Broker has next message in target topic. | `Boolean` | Review comment: In the rest of the document I saw "the broker" or "the Pulsar broker". I think it makes sense to stay consistent through the whole documentation. ---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
