gaborgsomogyi opened a new pull request #24967: [SPARK-28163][SS] Use CaseInsensitiveMap for KafkaOffsetReader URL: https://github.com/apache/spark/pull/24967 ## What changes were proposed in this pull request? There are "unsafe" conversions in the Kafka connector. `CaseInsensitiveStringMap` comes in which is then converted the following way: ``` ... options.asScala.toMap ... ``` The main problem with this is that such case it looses its case insensitive nature. Case insensitive map is converting the key to lower case when get/contains called. In this PR I'm using `CaseInsensitiveMap` to solve this problem. ## How was this patch tested? Existing unit tests + checked `FETCH_OFFSET_NUM_RETRY` and `FETCH_OFFSET_RETRY_INTERVAL_MS` with debugger.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
