You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tubemq.apache.org by "Guocheng Zhang (Jira)" <ji...@apache.org> on 2020/05/29 14:45:00 UTC

[jira] [Reopened] (TUBEMQ-155) Use enum class for consume position

     [ https://issues.apache.org/jira/browse/TUBEMQ-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guocheng Zhang reopened TUBEMQ-155:
-----------------------------------
      Assignee: yuchengxiang

[~technoboy] This issue cannot be closed at the moment. I missed a compatibility issue when reviewing the PR before. I have added a description in this issue. The original interface needs to be reserved and set to the @Deprecated tag, so that the business can upgrade the SDK without modifying the code. The interface of the related mark @Deprecated is deleted in version 1.0.0. At present, we still need to retain the interface and corresponding functions for business use.

So, we need reopen this issue, [~yanhai], you need to make additional amendments. The contents of the amendments can be put into the PR using this issue number, and the [addendum] mark is added after the title. You can refer to [TUBEMQ-149] for the integration.

Thanks

> Use enum class for consume position
> -----------------------------------
>
>                 Key: TUBEMQ-155
>                 URL: https://issues.apache.org/jira/browse/TUBEMQ-155
>             Project: Apache TubeMQ
>          Issue Type: Improvement
>            Reporter: Guo Jiwei
>            Assignee: yuchengxiang
>            Priority: Normal
>              Labels: pull-request-available
>             Fix For: 0.3.0
>
>         Attachments: screenshot-1.png
>
>
> When I write the consumer wiki, I find that, it's difficult to remember the meaning of
> {code:java}
> consumerConfig.setConsumeModel(0);
> {code}
> we'd better provide enum class for this, not numeric!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)