blog-spark-streaming-log-aggregation
blog-spark-streaming-log-aggregation copied to clipboard
streamingContext.awaitTermination()
Hi, you should add streamingContext.awaitTermination() to your code. Because the stream end and people do not see anything.