You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Luke Chen (Jira)" <ji...@apache.org> on 2020/11/20 06:27:00 UTC
[jira] [Commented] (KAFKA-10753) check if ConsumerConfig.AUTO_COMMIT_INTERVAL_MS_CONFIG != 0
[ https://issues.apache.org/jira/browse/KAFKA-10753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17235921#comment-17235921 ]
Luke Chen commented on KAFKA-10753:
-----------------------------------
We did check the AUTO_COMMIT_INTERVAL_MS_CONFIG value should >= 0. I think that should be enough.
> check if ConsumerConfig.AUTO_COMMIT_INTERVAL_MS_CONFIG != 0
> ------------------------------------------------------------
>
> Key: KAFKA-10753
> URL: https://issues.apache.org/jira/browse/KAFKA-10753
> Project: Kafka
> Issue Type: Improvement
> Components: consumer
> Reporter: shiqihao
> Priority: Minor
>
> I accidentally set ConsumerConfig.AUTO_COMMIT_INTERVAL_MS_CONFIG = 0, CPU running at 100%.
> Could we add a check if ConsumerConfig.AUTO_COMMIT_INTERVAL_MS_CONFIG != 0 while start consumer?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)