HeartSaVioR opened a new pull request #25332: [MINOR][SS] Correct description 
of minPartitions in Kafka option
URL: https://github.com/apache/spark/pull/25332
 
 
   ## What changes were proposed in this pull request?
   
   `minPartitions` has been used as a hint and relevant method 
(KafkaOffsetRangeCalculator.getRanges) doesn't guarantee the behavior that 
partitions will be equal or more than given value.
   
   
https://github.com/apache/spark/blob/d67b98ea016e9b714bef68feaac108edd08159c9/external/kafka-0-10-sql/src/main/scala/org/apache/spark/sql/kafka010/KafkaOffsetRangeCalculator.scala#L32-L46
   
   This patch makes clear the configuration is a hint, and actual partitions 
could be less or more.
   
   ## How was this patch tested?
   
   Just a documentation change.

----------------------------------------------------------------
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]

Reply via email to