use of org.apache.beam.sdk.metrics.MetricsOptions in project beam by apache.
the class SparkMetricsPusherTest method init.
@Before
public void init() {
TestMetricsSink.clear();
MetricsOptions options = pipeline.getOptions().as(MetricsOptions.class);
options.setMetricsSink(TestMetricsSink.class);
}
Aggregations