You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "vipin Kumar (Jira)" <ji...@apache.org> on 2024/08/28 07:30:00 UTC
[jira] [Comment Edited] (SPARK-49442) Complete Metadata requests on each micro batch causing Kafka issues
[ https://issues.apache.org/jira/browse/SPARK-49442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17877266#comment-17877266 ]
vipin Kumar edited comment on SPARK-49442 at 8/28/24 7:29 AM:
--------------------------------------------------------------
Thanks [~kabhwan] for quick reply
we applied *metadata.max.age.ms* on direct Kafka consumer config not through Spark config
will check other config also
was (Author: vipin77):
Thanks [~kabhwan] for quick reply
we applied *metadata.max.age.ms* on direct Kafka consumer config not through Spark config
will apply for spark config also
> Complete Metadata requests on each micro batch causing Kafka issues
> -------------------------------------------------------------------
>
> Key: SPARK-49442
> URL: https://issues.apache.org/jira/browse/SPARK-49442
> Project: Spark
> Issue Type: Bug
> Components: Structured Streaming
> Affects Versions: 3.3.2
> Reporter: vipin Kumar
> Priority: Major
> Labels: Kafka, spark-streaming-kafka
>
> We have noticed that spark does complete metadata requests on each micro batch and this is causing high metadata requests on small micro batch intervals .
>
> For example Kafka with 1900 partitions and 10 sec micro batch we are seeing order of
> ~{*}360K{*} metadata requests / sec
> Same with job with 60 sec micro batch we are observing *~60K* meta data requests.
>
> Metadata requests are controlled by *metadata.max.age.ms* but these config have no effect on spark consumers by default its 5 mins still we are seeing these huge requests.
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org