You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// SendMessages produces a given set of messages, and returns only when all
// messages in the set have either succeeded or failed. Note that messages
// can succeed and fail individually; if some succeed and some fail,
// SendMessages will return an error.
SendMessages(msgs []*ProducerMessage) error
Could we can use SendMessages with a transaction to make sure all messages is succeed or fail at once. And is it safe to use only 1 producer with transaction? Thanks.
staleIssues and pull requests without any recent activity
1 participant
Converted from issue
This discussion was converted from issue #2429 on July 17, 2023 22:09.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
As the comment of
SendMessages
method.Could we can use
SendMessages
with a transaction to make sure all messages is succeed or fail at once. And is it safe to use only 1 producer with transaction? Thanks.Beta Was this translation helpful? Give feedback.
All reactions