Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16000#discussion_r90996869
  
    --- Diff: 
streaming/src/main/scala/org/apache/spark/streaming/scheduler/StreamingListener.scala
 ---
    @@ -66,6 +69,9 @@ case class StreamingListenerReceiverStopped(receiverInfo: 
ReceiverInfo)
     @DeveloperApi
     trait StreamingListener {
     
    +  /** Called when the streaming starts */
    --- End diff --
    
    I don't know exactly what you're trying to capture here, but if it is the 
time when the `start()` method of the streaming context is called, it should be 
pretty trivial to get that by, huh, getting the current time in the `start()` 
method, where you send the event, instead of doing it in the constructor.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to