Skip to content

Commit ee5b13a

Browse files
authored
[improve][client] Update TypedMessageBuilder deliverAfter and deliverAt api comment (#23969)
1 parent d493e09 commit ee5b13a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pulsar-client-api/src/main/java/org/apache/pulsar/client/api/TypedMessageBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ public interface TypedMessageBuilder<T> extends Serializable {
189189
* <p>The timestamp is milliseconds and based on UTC (eg: {@link System#currentTimeMillis()}.
190190
*
191191
* <p><b>Note</b>: messages are only delivered with delay when a consumer is consuming
192-
* through a {@link SubscriptionType#Shared} subscription. With other subscription
193-
* types, the messages will still be delivered immediately.
192+
* through a {@link SubscriptionType#Shared} or {@link SubscriptionType#Key_Shared} subscription.
193+
* With other subscription types, the messages will still be delivered immediately.
194194
*
195195
* @param timestamp
196196
* absolute timestamp indicating when the message should be delivered to consumers
@@ -202,8 +202,8 @@ public interface TypedMessageBuilder<T> extends Serializable {
202202
* Request to deliver the message only after the specified relative delay.
203203
*
204204
* <p><b>Note</b>: messages are only delivered with delay when a consumer is consuming
205-
* through a {@link SubscriptionType#Shared} subscription. With other subscription
206-
* types, the messages will still be delivered immediately.
205+
* through a {@link SubscriptionType#Shared} or {@link SubscriptionType#Key_Shared} subscription.
206+
* With other subscription types, the messages will still be delivered immediately.
207207
*
208208
* @param delay
209209
* the amount of delay before the message will be delivered

0 commit comments

Comments
 (0)