Tabnine Logo
KafkaEventReporter.createSerializer
Code IndexAdd Tabnine to your IDE (free)

How to use
createSerializer
method
in
org.apache.gobblin.metrics.kafka.KafkaEventReporter

Best Java code snippets using org.apache.gobblin.metrics.kafka.KafkaEventReporter.createSerializer (Showing top 2 results out of 315)

origin: apache/incubator-gobblin

public KafkaEventReporter(Builder<?> builder) throws IOException {
 super(builder);
 this.serializer = this.closer.register(
   createSerializer(new FixedSchemaVersionWriter()));
 if(builder.kafkaPusher.isPresent()) {
  this.kafkaPusher = builder.kafkaPusher.get();
 } else {
   String pusherClassName = builder.pusherClassName.or(PusherUtils.DEFAULT_KAFKA_PUSHER_CLASS_NAME);
   this.kafkaPusher = PusherUtils.getPusher(pusherClassName, builder.brokers, builder.topic, builder.config);
 }
 this.closer.register(this.kafkaPusher);
}
origin: org.apache.gobblin/gobblin-kafka-common

public KafkaEventReporter(Builder<?> builder) throws IOException {
 super(builder);
 this.serializer = this.closer.register(
   createSerializer(new FixedSchemaVersionWriter()));
 if(builder.kafkaPusher.isPresent()) {
  this.kafkaPusher = builder.kafkaPusher.get();
 } else {
   String pusherClassName = builder.pusherClassName.or(PusherUtils.DEFAULT_KAFKA_PUSHER_CLASS_NAME);
   this.kafkaPusher = PusherUtils.getPusher(pusherClassName, builder.brokers, builder.topic, builder.config);
 }
 this.closer.register(this.kafkaPusher);
}
org.apache.gobblin.metrics.kafkaKafkaEventReportercreateSerializer

Popular methods of KafkaEventReporter

  • <init>
  • report

Popular in Java

  • Creating JSON documents from java classes using gson
  • notifyDataSetChanged (ArrayAdapter)
  • setContentView (Activity)
  • getApplicationContext (Context)
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Github Copilot 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