You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tubemq.apache.org by "Guo Jiwei (Jira)" <ji...@apache.org> on 2020/05/29 03:51:00 UTC
[jira] [Resolved] (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 ]
Guo Jiwei resolved TUBEMQ-155.
------------------------------
Fix Version/s: 0.3.0
Resolution: Fixed
> 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
> 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)