This is an automated email from the ASF dual-hosted git repository.
penghui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.wiki.git
The following commit(s) were added to refs/heads/master by this push:
new 8c093a4 Updated PIP 38: Batch Receiving Messages (markdown)
8c093a4 is described below
commit 8c093a4466bcc781bbc09be40f8bbfd833dcdb0a
Author: lipenghui <[email protected]>
AuthorDate: Mon Jul 1 09:58:16 2019 +0800
Updated PIP 38: Batch Receiving Messages (markdown)
---
PIP-38:-Batch-Receiving-Messages.md | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/PIP-38:-Batch-Receiving-Messages.md
b/PIP-38:-Batch-Receiving-Messages.md
index ab0ef88..92a5001 100644
--- a/PIP-38:-Batch-Receiving-Messages.md
+++ b/PIP-38:-Batch-Receiving-Messages.md
@@ -213,13 +213,13 @@ public class BatchReceivePolicy {
* Max size of messages: 10MB
* Timeout: 100ms
*/
- public static final BatchReceivePolicy DEFAULT_POLICY = new
BatchReceivePolicy(
- 100, 1024 * 1024 * 10, 100, TimeUnit.MILLISECONDS);
+ public static final BatchReceivePolicy DEFAULT_POLICY = new
BatchReceivePolicy(
+ 100, 1024 * 1024 * 10, 100, TimeUnit.MILLISECONDS);
- /**
+ /**
* Max number of message for a single batch receive, 0 or negative means
no limit.
*/
- private int maxNumMessages;
+ private int maxNumMessages;
/**
* Max size of message for a single batch receive, 0 or negative means no
limit.