ShannonDing commented on issue #3560:
URL: https://github.com/apache/rocketmq/issues/3560#issuecomment-983207298
>
yes, right. according to the definition below, the enum ROLLBACK and COMMIT
are deprecated.
let's clear up the recommend in the examples first.
just remove the remove if-else statements....
```
package org.apache.rocketmq.client.consumer.listener;
public enum ConsumeOrderlyStatus {
/**
* Success consumption
*/
SUCCESS,
/**
* Rollback consumption(only for binlog consumption)
*/
@Deprecated
ROLLBACK,
/**
* Commit offset(only for binlog consumption)
*/
@Deprecated
COMMIT,
/**
* Suspend current queue a moment
*/
SUSPEND_CURRENT_QUEUE_A_MOMENT;
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]