问题
I need to know how implement Streaming Listener to Stop a Streaming application.
I need a small example with Dependencies, imports and implement Codes.
Similar to detecting connection lost in spark streaming
Can you Help me?
来源:https://stackoverflow.com/questions/36874021/add-streaming-listener-to-stop-after-first-iteration