Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[improve] Update deliverAfter and deliverAt api comment #1339

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pulsar/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ type ProducerMessage struct {

// DeliverAfter requests to deliver the message only after the specified relative delay.
// Note: messages are only delivered with delay when a consumer is consuming
// through a `SubscriptionType=Shared` subscription. With other subscription
// types, the messages will still be delivered immediately.
// through a `SubscriptionType=Shared` or `SubscriptionType=KeyShared` subscription.
// With other subscription types, the messages will still be delivered immediately.
DeliverAfter time.Duration

// DeliverAt delivers the message only at or after the specified absolute timestamp.
// Note: messages are only delivered with delay when a consumer is consuming
// through a `SubscriptionType=Shared` subscription. With other subscription
// types, the messages will still be delivered immediately.
// through a `SubscriptionType=Shared` or `SubscriptionType=KeyShared` subscription.
// With other subscription types, the messages will still be delivered immediately.
DeliverAt time.Time

//Schema assign to the current message
Expand Down