Tabnine Logo
KafkaAvroEventReporter
Code IndexAdd Tabnine to your IDE (free)

How to use
KafkaAvroEventReporter
in
org.apache.gobblin.metrics.kafka

Best Java code snippets using org.apache.gobblin.metrics.kafka.KafkaAvroEventReporter (Showing top 4 results out of 315)

origin: apache/incubator-gobblin

/**
 * Builds and returns {@link KafkaAvroEventReporter}.
 *
 * @param brokers string of Kafka brokers
 * @param topic topic to send metrics to
 * @return KafkaAvroReporter
 */
public KafkaAvroEventReporter build(String brokers, String topic) throws IOException {
 this.brokers = brokers;
 this.topic = topic;
 return new KafkaAvroEventReporter(this);
}
origin: apache/incubator-gobblin

@Override
public KafkaEventReporter.Builder<? extends KafkaEventReporter.Builder> getBuilder(MetricContext context,
  Pusher pusher) {
 return KafkaAvroEventReporter.forContext(context).withKafkaPusher(pusher);
}
origin: apache/incubator-gobblin

KafkaAvroEventReporter.forContext(context).withKafkaPusher(pusher)
  .withSchemaRegistry(registry).build("localhost:0000", "topic");
origin: org.apache.gobblin/gobblin-kafka-common

/**
 * Builds and returns {@link KafkaAvroEventReporter}.
 *
 * @param brokers string of Kafka brokers
 * @param topic topic to send metrics to
 * @return KafkaAvroReporter
 */
public KafkaAvroEventReporter build(String brokers, String topic) throws IOException {
 this.brokers = brokers;
 this.topic = topic;
 return new KafkaAvroEventReporter(this);
}
org.apache.gobblin.metrics.kafkaKafkaAvroEventReporter

Javadoc

org.apache.gobblin.metrics.reporter.EventReporter that emits events to Kafka as serialized Avro records.

Most used methods

  • <init>
  • forContext
    Returns a new Builder for KafkaAvroEventReporter.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • compareTo (BigDecimal)
  • onRequestPermissionsResult (Fragment)
  • getSharedPreferences (Context)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now