Skip to content

Commit bb80bbb

Browse files
author
Andrew Or
committed
Fix MIMA?
1 parent 5c30360 commit bb80bbb

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

external/kafka/src/main/scala/org/apache/spark/streaming/kafka/DirectKafkaInputDStream.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ class DirectKafkaInputDStream[
6262
val fromOffsets: Map[TopicAndPartition, Long],
6363
messageHandler: MessageAndMetadata[K, V] => R
6464
) extends InputDStream[R](ssc_) with Logging {
65-
66-
private val maxRetries = context.sparkContext.getConf.getInt(
65+
val maxRetries = context.sparkContext.getConf.getInt(
6766
"spark.streaming.kafka.maxRetries", 1)
6867

6968
protected override val customScopeName: Option[String] = Some(s"kafka direct stream [$id]")

0 commit comments

Comments
 (0)