mirror of https://github.com/milvus-io/milvus.git
Remove kafka consumer ack (#20518)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com> Signed-off-by: yun.zhang <yun.zhang@zilliz.com>pull/20556/head
parent
2284378f87
commit
056aebf9c2
|
@ -198,8 +198,9 @@ func (kc *Consumer) internalSeek(offset kafka.Offset, inclusive bool) error {
|
|||
}
|
||||
|
||||
func (kc *Consumer) Ack(message mqwrapper.Message) {
|
||||
kafkaMsg, _ := message.(*kafkaMessage)
|
||||
kc.c.CommitMessage(kafkaMsg.msg)
|
||||
// Do nothing
|
||||
// Kafka retention mechanism only depends on retention configuration,
|
||||
// it does not relate to the commit with consumer's offsets.
|
||||
}
|
||||
|
||||
func (kc *Consumer) GetLatestMsgID() (mqwrapper.MessageID, error) {
|
||||
|
|
Loading…
Reference in New Issue