You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/12/01 01:53:43 UTC

[GitHub] [rocketmq] ShannonDing commented on issue #3560: Remove deprecated status in the orderly consumer examples.

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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org