Skip to content

Commit 7317b0f

Browse files
committed
Fix comment
1 parent fb27a97 commit 7317b0f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamExecution.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,8 @@ class StreamExecution(
178178

179179
/**
180180
* The thread that runs the micro-batches of this stream. Note that this thread must be
181-
* [[org.apache.spark.util.UninterruptibleThread]] to avoid swallowing `InterruptException` when
182-
* using [[HDFSMetadataLog]]. See SPARK-19599 for more details.
181+
* [[org.apache.spark.util.UninterruptibleThread]] to workaround KAFKA-1894: interrupting a
182+
* running `KafkaConsumer` may cause endless loop.
183183
*/
184184
val microBatchThread =
185185
new StreamExecutionThread(s"stream execution thread for $prettyIdString") {

0 commit comments

Comments
 (0)