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

commit c13ca457a746d1d515505a3f6539f62729b591fd
Author: Jia Zhai <[email protected]>
AuthorDate: Fri Jul 5 20:01:38 2019 +0800

    Updated PIP 26: Delayed Message Delivery (markdown)
---
 PIP-26:-Delayed-Message-Delivery.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PIP-26:-Delayed-Message-Delivery.md 
b/PIP-26:-Delayed-Message-Delivery.md
index 22e5769..ae934db 100644
--- a/PIP-26:-Delayed-Message-Delivery.md
+++ b/PIP-26:-Delayed-Message-Delivery.md
@@ -18,7 +18,7 @@ Delayed messages publish example in client side:
 producer.newMessage().deliverAfter(3L, TimeUnit.Minute).value("Hello 
Pulsar!").send();
 
 // message to be delivered at the configure time.
-producer.newMessage().deliverAt(new Date(2018, 10, 31, 23, 00, 00))
+producer.newMessage().deliverAt((new Date(2018, 10, 31, 23, 00, 00)).getTime())
 ```
 
 To enable or disable delay message feature:

Reply via email to