Skip to content

LitePullConsumer Ack #1932

@mali-nuist

Description

@mali-nuist

The example code shows how to use DefaultLitePullConsumer to pull data from rocketmq:

List<MessageExt> messageExts = litePullConsumer.poll();

But i noticed that unlike the push mode( return ConsumeConcurrentlyStatus.CONSUME_SUCCESS;), there is no code to reply an ack to the rocketmq for the pull consumer. So the question is : To ensure the data are correctly pulled, what should i do to manually reply an ack to the rockemq when using DefaultLitePullConsumer?
thanks~

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions