You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/05/09 16:20:16 UTC

[GitHub] [spark] hehuiyuan opened a new pull request #24270: [SPARK-27343][KAFKA][SS]Avoid hardcoded for spark-sql-kafka-0-10

hehuiyuan opened a new pull request #24270: [SPARK-27343][KAFKA][SS]Avoid hardcoded for spark-sql-kafka-0-10
URL: https://github.com/apache/spark/pull/24270
 
 
   ## What changes were proposed in this pull request?
   
   [SPARK-27343](https://issues.apache.org/jira/projects/SPARK/issues/SPARK-27343)
   
   Extracting parameters , building the objects of ConfigEntry.
   
   For example:
   for the parameter "spark.kafka.producer.cache.timeout",we build
   `private[spark] val PRODUCER_CACHE_TIMEOUT =
       ConfigBuilder("spark.kafka.producer.cache.timeout")
         .doc("The time to remove the producer when the producer is not used.")
         .timeConf(TimeUnit.MILLISECONDS)
         .createWithDefaultString("600000")`

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org