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

Provide options for offset-based semantics when using structured streaming from a file stream source

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.1.0
    • Fix Version/s: None
    • Component/s: Structured Streaming
    • Labels:
      None

      Description

      Implement the following options while performing structured streaming from a file data source:

      startingOffsetsByTimestamp
      endingOffsetsByTimestamp
      startingOffsets
      endingOffsets
      

      These options currently exist when using structured streaming from a Kafka data source. 

      Please see comments from the below PR for details.
      https://github.com/apache/spark/pull/28841

      Example from usage with Kafka data source
      http://spark.apache.org/docs/latest/structured-streaming-kafka-integration.html#creating-a-kafka-source-for-batch-queries

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cchighman Christopher Highman
              Shepherd:
              Jungtaek Lim
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: