diff --git a/functional_consumer_test.go b/functional_consumer_test.go index 5659d20a9..5f63ee93a 100644 --- a/functional_consumer_test.go +++ b/functional_consumer_test.go @@ -233,7 +233,8 @@ func TestReadOnlyAndAllCommittedMessages(t *testing.T) { ps := &produceSet{ msgs: make(map[string]map[int32]*partitionSet), parent: &asyncProducer{ - conf: config, + conf: config, + txnmgr: &transactionManager{}, }, producerID: pidRes.ProducerID, producerEpoch: pidRes.ProducerEpoch,