Skip to content

Commit 0bcfa87

Browse files
committed
Fix the sleep time
1 parent b9d1256 commit 0bcfa87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/src/main/scala/org/apache/spark/examples/streaming/KafkaWordCount.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ object KafkaWordCountProducer {
9696
producer.send(message)
9797
}
9898

99-
Thread.sleep(100)
99+
Thread.sleep(1000)
100100
}
101101
}
102102

0 commit comments

Comments
 (0)