spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Bowden (JIRA)" <>
Subject [jira] [Created] (SPARK-19853) Uppercase Kafka topics fail when startingOffsets are SpecificOffsets
Date Tue, 07 Mar 2017 22:17:38 GMT
Chris Bowden created SPARK-19853:

             Summary: Uppercase Kafka topics fail when startingOffsets are SpecificOffsets
                 Key: SPARK-19853
             Project: Spark
          Issue Type: Bug
          Components: Structured Streaming
    Affects Versions: 2.1.0
            Reporter: Chris Bowden
            Priority: Trivial

When using the KafkaSource with Structured Streaming, consumer assignments are not what the
user expects if startingOffsets is set to an explicit set of topics/partitions in JSON where
the topic(s) happen to have uppercase characters. When StartingOffsets is constructed, the
original string value from options is transformed toLowerCase to make matching on "earliest"
and "latest" case insensitive. However, the toLowerCase json is passed to SpecificOffsets
for the terminal condition, so topic names may not be what the user intended by the time assignments
are made with the underlying KafkaConsumer.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message