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

mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new ee5b13af5cf [improve][client] Update TypedMessageBuilder deliverAfter 
and deliverAt api comment (#23969)
ee5b13af5cf is described below

commit ee5b13af5cf229c2e4846c6d34ebda59eb82330a
Author: zhou zhuohan <[email protected]>
AuthorDate: Thu Feb 13 13:29:58 2025 +0800

    [improve][client] Update TypedMessageBuilder deliverAfter and deliverAt api 
comment (#23969)
---
 .../java/org/apache/pulsar/client/api/TypedMessageBuilder.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/pulsar-client-api/src/main/java/org/apache/pulsar/client/api/TypedMessageBuilder.java
 
b/pulsar-client-api/src/main/java/org/apache/pulsar/client/api/TypedMessageBuilder.java
index 9fcbeb4d112..08eaaad6d37 100644
--- 
a/pulsar-client-api/src/main/java/org/apache/pulsar/client/api/TypedMessageBuilder.java
+++ 
b/pulsar-client-api/src/main/java/org/apache/pulsar/client/api/TypedMessageBuilder.java
@@ -189,8 +189,8 @@ public interface TypedMessageBuilder<T> extends 
Serializable {
      * <p>The timestamp is milliseconds and based on UTC (eg: {@link 
System#currentTimeMillis()}.
      *
      * <p><b>Note</b>: messages are only delivered with delay when a consumer 
is consuming
-     * through a {@link SubscriptionType#Shared} subscription. With other 
subscription
-     * types, the messages will still be delivered immediately.
+     * through a {@link SubscriptionType#Shared} or {@link 
SubscriptionType#Key_Shared} subscription.
+     * With other subscription types, the messages will still be delivered 
immediately.
      *
      * @param timestamp
      *            absolute timestamp indicating when the message should be 
delivered to consumers
@@ -202,8 +202,8 @@ public interface TypedMessageBuilder<T> extends 
Serializable {
      * Request to deliver the message only after the specified relative delay.
      *
      * <p><b>Note</b>: messages are only delivered with delay when a consumer 
is consuming
-     * through a {@link SubscriptionType#Shared} subscription. With other 
subscription
-     * types, the messages will still be delivered immediately.
+     * through a {@link SubscriptionType#Shared} or {@link 
SubscriptionType#Key_Shared} subscription.
+     * With other subscription types, the messages will still be delivered 
immediately.
      *
      * @param delay
      *            the amount of delay before the message will be delivered

Reply via email to