MCPcopy
hub / github.com/IBM/sarama / RefreshTransactionCoordinator

Method RefreshTransactionCoordinator

client.go:109–109  ·  view source on GitHub ↗

RefreshTransactionCoordinator retrieves the coordinator for a transaction id and stores it in local cache. This function only works on Kafka 0.11.0.0 and higher.

(transactionID string)

Source from the content-addressed store, hash-verified

107 // RefreshTransactionCoordinator retrieves the coordinator for a transaction id and stores it
108 // in local cache. This function only works on Kafka 0.11.0.0 and higher.
109 RefreshTransactionCoordinator(transactionID string) error
110
111 // InitProducerID retrieves information required for Idempotent Producer
112 InitProducerID() (*InitProducerIDResponse, error)

Callers 4

publishOffsetsToTxnMethod · 0.65
initProducerIdMethod · 0.65
endTxnMethod · 0.65
publishTxnPartitionsMethod · 0.65

Implementers 2

stubLeaderClientasync_producer_test.go
clientclient.go

Calls

no outgoing calls

Tested by

no test coverage detected