Skip to content

Commit

Permalink
Fix MIMA?
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Or committed May 14, 2015
1 parent 5c30360 commit bb80bbb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ class DirectKafkaInputDStream[
val fromOffsets: Map[TopicAndPartition, Long],
messageHandler: MessageAndMetadata[K, V] => R
) extends InputDStream[R](ssc_) with Logging {

private val maxRetries = context.sparkContext.getConf.getInt(
val maxRetries = context.sparkContext.getConf.getInt(
"spark.streaming.kafka.maxRetries", 1)

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

0 comments on commit bb80bbb

Please sign in to comment.