Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-44248

Kafka Source v2 should return preferred locations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 3.5.0
    • Structured Streaming
    • None

    Description

      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.

      Attachments

        Activity

          People

            siying Siying Dong
            siying Siying Dong
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: