gaborgsomogyi commented on issue #24270: [SPARK-27343][KAFKA][SS]Avoid 
hardcoded for spark-sql-kafka-0-10
URL: https://github.com/apache/spark/pull/24270#issuecomment-485711368
 
 
   > @gaborgsomogyi
   > 
   > > spark.sql("SET -v").show(999, false)
   > > This shows all parameters that begin with `spark.sql`.
   > 
   > 
`SQLConf.buildConf("spark.sql.kafkaConsumerCache.capacity").doc("xxx").intConf.createWithDefault(xxx)`,
 this code can use `SET -v` to show.
   > 
   > ```
   > private[kafka010] val PRODUCER_CACHE_TIMEOUT =
   >    ConfigBuilder("spark.kafka.producer.cache.timeout")
   >      .doc("The expire time to remove the unused producers.")
   >      .timeConf(TimeUnit.MILLISECONDS)
   >      .createWithDefaultString("10m")
   > ```
   > But PRODUCER_CACHE_TIMEOUT begins without `spark.sql`.
   
   That's clear, my question is more like how to see it then?
   

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