CosmosNi commented on code in PR #8173:
URL: https://github.com/apache/seatunnel/pull/8173#discussion_r1865176420
##########
seatunnel-api/src/main/java/org/apache/seatunnel/api/transform/SeaTunnelTransform.java:
##########
@@ -54,4 +55,8 @@ default SchemaChangeEvent
mapSchemaChangeEvent(SchemaChangeEvent schemaChangeEve
/** call it when Transformer completed */
default void close() {}
+
+ void setMetricsContext(MetricsContext metricsContext);
+
+ MetricsContext getMetricsContext();
Review Comment:
Need to set the MetricsContext in TransformFlowLifeCycle
Constructor.getMetricsContext does not need.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]