Github user tillrohrmann commented on a diff in the pull request:
https://github.com/apache/flink/pull/4592#discussion_r149077193
--- Diff:
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyMessage.java
---
@@ -67,12 +68,53 @@
//
------------------------------------------------------------------------
+ /**
+ * Allocates a new (header and contents) buffer and adds some header
information for the frame
--- End diff --
This method only allocates memory for the header and no contents (or
contents is empty). Maybe we could update the JavaDoc accordingly.
---