You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2018/10/16 06:26:20 UTC

[GitHub] yanghua commented on a change in pull request #6850: [FLINK-10252] Handle oversized metric messges

yanghua commented on a change in pull request #6850: [FLINK-10252] Handle oversized metric messges
URL: https://github.com/apache/flink/pull/6850#discussion_r225410888
 
 

 ##########
 File path: flink-metrics/flink-metrics-core/src/main/java/org/apache/flink/metrics/Metric.java
 ##########
 @@ -18,8 +18,10 @@
 
 package org.apache.flink.metrics;
 
+import java.io.Serializable;
+
 /**
  * Common super interface for all metrics.
  */
-public interface Metric {
+public interface Metric extends Serializable {
 
 Review comment:
   @zentol If I don't do this, I won't be able to get the size of the corresponding akka message. In addition to serializing it into binary data for acquisition, is there any other way?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services