You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jungtaek Lim (Jira)" <ji...@apache.org> on 2023/06/29 21:51:00 UTC

[jira] [Resolved] (SPARK-44248) Kafka Source v2 should return preferred locations

     [ https://issues.apache.org/jira/browse/SPARK-44248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jungtaek Lim resolved SPARK-44248.
----------------------------------
    Fix Version/s: 3.5.0
       Resolution: Fixed

Issue resolved by pull request 41790
[https://github.com/apache/spark/pull/41790]

> Kafka Source v2 should return preferred locations
> -------------------------------------------------
>
>                 Key: SPARK-44248
>                 URL: https://issues.apache.org/jira/browse/SPARK-44248
>             Project: Spark
>          Issue Type: Bug
>          Components: Structured Streaming
>    Affects Versions: 3.5.0
>            Reporter: Siying Dong
>            Assignee: Siying Dong
>            Priority: Major
>             Fix For: 3.5.0
>
>
> DSv2 Kafka streaming source seems to miss setting the preferred location, which may destroy the purpose of cache for Kafka consumer (connection) & fetched data.
> For DSv1, we have set the preferred location in RDD.
> For DSv2, we should provide the info. in input partition, but we don't add the information into KafkaBatchInputPartition.



--
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