This is an automated email from the ASF dual-hosted git repository.
mmerli pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new 7bfa45c93ad [improve][client] Update TypedMessageBuilder deliverAfter
and deliverAt api comment (#23969)
7bfa45c93ad is described below
commit 7bfa45c93ad2851d9018d5b59809106123d96aa7
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