From commits-return-32727-archive-asf-public=cust-asf.ponee.io@pulsar.apache.org Mon Jul 8 08:24:10 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 7625B180665 for ; Mon, 8 Jul 2019 10:24:09 +0200 (CEST) Received: (qmail 12899 invoked by uid 500); 8 Jul 2019 08:24:08 -0000 Mailing-List: contact commits-help@pulsar.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pulsar.apache.org Delivered-To: mailing list commits@pulsar.apache.org Received: (qmail 12748 invoked by uid 99); 8 Jul 2019 08:24:08 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Jul 2019 08:24:08 +0000 From: GitBox To: commits@pulsar.apache.org Subject: [GitHub] [pulsar] Anonymitaet commented on a change in pull request #4677: Blog of 2.4.0 release Message-ID: <156257424847.21575.1489214914390890767.gitbox@gitbox.apache.org> Date: Mon, 08 Jul 2019 08:24:08 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Anonymitaet commented on a change in pull request #4677: Blog of 2.4.0 release URL: https://github.com/apache/pulsar/pull/4677#discussion_r300938696 ########## File path: site2/website/blog/2019-07-05-Apache-Pulsar-2-4-0.md ########## @@ -0,0 +1,118 @@ +--- +author: Penghui Li +authorURL: https://twitter.com/lipenghui6 +title: Apache Pulsar 2.4.0 +--- + +We are glad to present the new 2.4.0 release of Pulsar. This is the result of a huge +effort from the community, with over 460 commits and a long list of new features, +general improvements and bug fixes. + +Check out the [release notes](/release-notes/#2.4.0) for a detailed list of +the changes, with links to the relevant pull-requests, discussions and documentation. + +Regarding new features introduced, I just want to highlight here a tiny subset of them: + + + +### Delayed message delivery + +It's now possible to send delayed message by pulsar producer, and delayed message will +available after delay time. + +The Java code for a client using delayed message delivery will look like: + +```java +producer.newMessage().value("delayed message").deliverAfter(10, TimeUnit.SECONDS).send() +``` + +> Note: +> +> 1. Messages are only delayed on shared subscriptions. Other subscriptions will deliver immediately. +> 2. Can't work well with batching messages while messages has different delay time. + +### Go functions Review comment: ```suggestion ### Go Functions ``` ---------------------------------------------------------------- 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: users@infra.apache.org With regards, Apache Git Services