/** * Returns a new {@link Builder} for {@link KafkaEventReporter}. * Will automatically add all Context tags to the reporter. * * @param context the {@link MetricContext} to report * @return KafkaReporter builder * @deprecated this method is bugged. Use {@link Factory#forContext} instead. */ @Deprecated public static Builder<? extends Builder> forContext(MetricContext context) { return new BuilderImpl(context); }
/** * Returns a new {@link Builder} for {@link KafkaEventReporter}. * Will automatically add all Context tags to the reporter. * * @param context the {@link MetricContext} to report * @return KafkaReporter builder * @deprecated this method is bugged. Use {@link Factory#forContext} instead. */ @Deprecated public static Builder<? extends Builder> forContext(MetricContext context) { return new BuilderImpl(context); }
/** * Returns a new {@link Builder} for {@link KafkaEventReporter}. * Will automatically add all Context tags to the reporter. * * @param context the {@link MetricContext} to report * @return KafkaReporter builder */ public static BuilderImpl forContext(MetricContext context) { return new BuilderImpl(context); } }
/** * Returns a new {@link Builder} for {@link KafkaEventReporter}. * Will automatically add all Context tags to the reporter. * * @param context the {@link MetricContext} to report * @return KafkaReporter builder */ public static BuilderImpl forContext(MetricContext context) { return new BuilderImpl(context); } }