diff --git a/site2/docs/client-libraries-node.md b/site2/docs/client-libraries-node.md index 130f7a058d667..92c3f770be707 100644 --- a/site2/docs/client-libraries-node.md +++ b/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` | | `readNext(Number)` | Receives a single message from the topic with specific timeout in milliseconds. | `Promise` | -| `hasNext()` | Return whether Proker has next message in target topic. | `Boolean` | +| `hasNext()` | Return whether the broker has next message in target topic. | `Boolean` | | `close()` | Closes the reader, disabling its ability to receive messages from the broker. | `Promise` | ### Reader configuration