You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by zh...@apache.org on 2019/07/04 07:03:16 UTC

[pulsar.wiki] branch master updated: Updated PIP 26: Delayed Message Delivery (markdown)

This is an automated email from the ASF dual-hosted git repository.

zhaijia 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 8942995  Updated PIP 26: Delayed Message Delivery (markdown)
8942995 is described below

commit 8942995bdd4e7d89f1c2f14adc6f334c48ad9462
Author: Jia Zhai <zh...@apache.org>
AuthorDate: Thu Jul 4 15:03:15 2019 +0800

    Updated PIP 26: Delayed Message Delivery (markdown)
---
 PIP-26:-Delayed-Message-Delivery.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/PIP-26:-Delayed-Message-Delivery.md b/PIP-26:-Delayed-Message-Delivery.md
index 98038fa..22e5769 100644
--- a/PIP-26:-Delayed-Message-Delivery.md
+++ b/PIP-26:-Delayed-Message-Delivery.md
@@ -1,7 +1,7 @@
 # PIP-26: Delayed Message Delivery
 * Status: Proposed
-* Author: [Penghui Li](https://github.com/codelipenghui), [Jia Zhai](https://github.com/zhaijack)
-* Pull Request: [#2375](https://github.com/apache/pulsar/issues/2375)
+* Author: [Penghui Li](https://github.com/codelipenghui), [Jia Zhai](https://github.com/jiazhai)
+* Pull Request: [#2375](https://github.com/apache/pulsar/issues/2375), [#4062](https://github.com/apache/pulsar/pull/4062)
 * Mailing List Discussion: https://lists.apache.org/thread.html/977a8042581819769809f298bd2a2e9fd6b78598792c98069eb691e5@%3Cdev.pulsar.apache.org%3E
 * Release: N/A
 
@@ -15,10 +15,10 @@ Delayed messages publish example in client side:
 
 ```java
 // message to be delivered at the configured delay interval
-producer.newMessage().delayAt(3L, TimeUnit.Minute).value("Hello Pulsar!").send();
+producer.newMessage().deliverAfter(3L, TimeUnit.Minute).value("Hello Pulsar!").send();
 
 // message to be delivered at the configure time.
-producer.newMessage().scheduleAt(new Date(2018, 10, 31, 23, 00, 00))
+producer.newMessage().deliverAt(new Date(2018, 10, 31, 23, 00, 00))
 ```
 
 To enable or disable delay message feature: