Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/IBM/sarama
/ BeginTxn
Method
BeginTxn
sync_producer.go:46–46 ·
view source on GitHub ↗
BeginTxn mark current transaction as ready.
()
Source
from the content-addressed store, hash-verified
44
45
// BeginTxn mark current transaction as ready.
46
BeginTxn() error
47
48
// CommitTxn commit current transaction.
49
CommitTxn() error
Callers
12
testTxnProduceAndCommitOffset
Function · 0.65
TestFuncTxnAbortedProduce
Function · 0.65
TestSyncProducerTransactional
Function · 0.65
BeginTxn
Method · 0.65
TestTxnProduceBumpEpoch
Function · 0.65
TestTxnProduceRecordWithCommit
Function · 0.65
TestTxnProduceBatchAddPartition
Function · 0.65
TestTxnProduceRecordWithAbort
Function · 0.65
TestTxnCanAbort
Function · 0.65
TestProducerWithTxn
Function · 0.65
produceTestRecord
Function · 0.65
ConsumeClaim
Method · 0.65
Implementers
2
syncProducer
sync_producer.go
SyncProducer
mocks/sync_producer.go
Calls
no outgoing calls
Tested by
9
testTxnProduceAndCommitOffset
Function · 0.52
TestFuncTxnAbortedProduce
Function · 0.52
TestSyncProducerTransactional
Function · 0.52
TestTxnProduceBumpEpoch
Function · 0.52
TestTxnProduceRecordWithCommit
Function · 0.52
TestTxnProduceBatchAddPartition
Function · 0.52
TestTxnProduceRecordWithAbort
Function · 0.52
TestTxnCanAbort
Function · 0.52
TestProducerWithTxn
Function · 0.52