File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
pulsar-client-api/src/main/java/org/apache/pulsar/client/api Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments