rename functions

This commit is contained in:
chrislu 2024-01-05 15:16:41 -08:00
parent add16fb1a1
commit f8787a9761

View file

@ -131,9 +131,9 @@ func (sub *TopicSubscriber) onEachPartition(partition *mq_pb.Partition, broker s
defer sub.OnCompletionFunc() defer sub.OnCompletionFunc()
} }
defer func() { defer func() {
subscribeClient.SendMsg(&mq_pb.SubscribeRequest{ subscribeClient.SendMsg(&mq_pb.SubscribeMessageRequest{
Message: &mq_pb.SubscribeRequest_Ack{ Message: &mq_pb.SubscribeMessageRequest_Ack{
Ack: &mq_pb.SubscribeRequest_AckMessage{ Ack: &mq_pb.SubscribeMessageRequest_AckMessage{
Sequence: 0, Sequence: 0,
}, },
}, },