dockerzhang / incubator-inlong

Apache InLong - a one-stop data streaming platform
https://inlong.apache.org/
Apache License 2.0
0 stars 0 forks source link

[INLONG-155] Use enum class for consume position #155

Closed dockerzhang closed 3 years ago

dockerzhang commented 3 years ago

When I write the consumer wiki, I find that, it's difficult to remember the meaning of

consumerConfig.setConsumeModel(0);

we'd better provide enum class for this, not numeric!

JIRA link - [INLONG-155] created by technoboy