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

Method AddMessageToTxnWithGroupMetadata

sync_producer.go:68–68  ·  view source on GitHub ↗

AddMessageToTxnWithGroupMetadata adds the message offset to the current transaction, carrying the consumer group member metadata so the broker can fence stale members (KIP-447).

(msg *ConsumerMessage, groupMetadata *ConsumerGroupMetadata, metadata *string)

Source from the content-addressed store, hash-verified

66 // transaction, carrying the consumer group member metadata so the broker
67 // can fence stale members (KIP-447).
68 AddMessageToTxnWithGroupMetadata(msg *ConsumerMessage, groupMetadata *ConsumerGroupMetadata, metadata *string) error
69}
70
71type syncProducer struct {

Callers 3

ConsumeClaimMethod · 0.65

Implementers 2

syncProducersync_producer.go
SyncProducermocks/sync_producer.go

Calls

no outgoing calls

Tested by 1