rmatharu commented on a change in pull request #1463:
URL: https://github.com/apache/samza/pull/1463#discussion_r577241960



##########
File path: samza-api/src/main/java/org/apache/samza/operators/MessageStream.java
##########
@@ -49,25 +49,51 @@
 @InterfaceStability.Evolving
 public interface MessageStream<M> {
 
+  /**
+   * Equivalent to {@code map("", mapFn)}.
+   * @see #map(String, MapFunction)
+   */
+  default <OM> MessageStream<OM> map(MapFunction<? super M, ? extends OM> 
mapFn) {
+    return map("", mapFn);
+  }
+
   /**
    * Applies the provided 1:1 function to messages in this {@link 
MessageStream} and returns the
    * transformed {@link MessageStream}.
    *
+   * @param desc description of this mapping operation

Review comment:
       +1 "tag" or "name", "id" might be better.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to