You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/07/01 07:14:00 UTC
[jira] [Updated] (HUDI-1062) Remove unnecessary maxEvent check and
add some log in KafkaOffsetGen
[ https://issues.apache.org/jira/browse/HUDI-1062?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HUDI-1062:
---------------------------------
Labels: pull-request-available (was: )
> Remove unnecessary maxEvent check and add some log in KafkaOffsetGen
> --------------------------------------------------------------------
>
> Key: HUDI-1062
> URL: https://issues.apache.org/jira/browse/HUDI-1062
> Project: Apache Hudi
> Issue Type: Task
> Components: Code Cleanup
> Reporter: wangxianghu
> Assignee: Trevorzhang
> Priority: Minor
> Labels: pull-request-available
>
> {code:java}
> //code
> maxEventsToReadFromKafka = (maxEventsToReadFromKafka == Long.MAX_VALUE || maxEventsToReadFromKafka == Integer.MAX_VALUE)
> ? Config.maxEventsFromKafkaSource : maxEventsToReadFromKafka;
> {code}
> this line is unnecessary, we‘d better remove it.
> besides, when the source limit is not configured, it will take *maxEventsToReadFromKafka*(50M) as the default value, we can give a log to notify the user.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)