hehuiyuan removed a comment on issue #24270: [SPARK-27343][KAFKA][SS]Avoid hardcoded for spark-sql-kafka-0-10 URL: https://github.com/apache/spark/pull/24270#issuecomment-481096710 @gaborgsomogyi ```scala new KafkaSource( sqlContext, kafkaOffsetReader, kafkaParamsForExecutors(specifiedKafkaParams, uniqueGroupId), parameters, metadataPath, startingStreamOffsets, failOnDataLoss(caseInsensitiveParams)) private val maxOffsetsPerTrigger = sourceOptions.get(MAX_OFFSET_PER_TRIGGER).map(_.toLong) ``` The parameter of `parameters` is not processed ,which is sensitive. `sourceOption` is `parameters`. KafkaMicroBatchStream uses CaseInsensitiveStringMap where get operation uses lowercase conversion. KafkaSourceProvider uses caseInsensitiveParams which is lowercase all the time .
---------------------------------------------------------------- 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]
