Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tracked ¶
type Tracked struct {
// contains filtered or unexported fields
}
Tracked is a transaction type that adds identifying tags to messages such that an error returned resulting from multiple transaction messages can be reduced.
func NewTracked ¶
NewTracked creates a transaction from a message batch and a response channel. The message is tagged with an identifier for the transaction, and if an error is returned from a downstream component that merged messages from other transactions the tag can be used in order to determine whether the message owned by this transaction succeeded.
func (*Tracked) ResponseChan ¶
ResponseChan returns the response channel owned by this transaction.
Click to show internal directories.
Click to hide internal directories.