Skip to content

Commit

Permalink
Update comment in kafka producer
Browse files Browse the repository at this point in the history
  • Loading branch information
akshitvjain authored May 7, 2020
1 parent 818ceb6 commit a0577f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/org/streaming/KafkaSparkProcessor.scala
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ object KafkaSparkProcessor {
// Pass kafka topic name
val Array(topics) = args

// Set the Spark StreamingContext to create a DStream for every 30 seconds
// Set the Spark StreamingContext to create a DStream for every 15 seconds
val ssc = new StreamingContext(sc, Seconds(15))
ssc.checkpoint("checkpoint")

Expand Down

0 comments on commit a0577f4

Please sign in to comment.