Github user BryanCutler commented on a diff in the pull request:
https://github.com/apache/spark/pull/9488#discussion_r44170656
--- Diff:
streaming/src/main/scala/org/apache/spark/streaming/api/java/JavaDStreamLike.scala
---
@@ -308,7 +308,10 @@ trait JavaDStreamLike[T, This <: JavaDStreamLike[T,
This, R], R <: JavaRDDLike[T
/**
* Apply a function to each RDD in this DStream. This is an output
operator, so
* 'this' DStream will be registered as an output stream and therefore
materialized.
+ *
+ * @deprecated As of release 2.0.0, replaced by
foreachRDD(JVoidFunction)
*/
+ @deprecated("Use foreachRDD(foreachFunc: JVoidFunction[R])", "2.0.0")
--- End diff --
Sure, I only put 2.0.0 because the JIRA had that as the target. I'll
change it if that's not the case anymore.
---
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]