You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "leesf (Jira)" <ji...@apache.org> on 2020/07/12 13:05:00 UTC
[jira] [Resolved] (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 ]
leesf resolved HUDI-1062.
-------------------------
Fix Version/s: 0.6.0
Resolution: Fixed
> 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
> Fix For: 0.6.0
>
>
> {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)