Class AsyncKafkaExporter.Builder<T>
java.lang.Object
io.confluent.telemetry.events.exporter.kafka.async.AsyncKafkaExporter.Builder<T>
- Enclosing class:
AsyncKafkaExporter<T>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()withBufferSize(int bufferSize) withDataSerializer(Function<T, org.apache.kafka.clients.producer.ProducerRecord<String, byte[]>> dataSerializer) withFilter(Predicate<T> filter) withProducerProperties(Properties producerProperties) withTopicSupplier(TopicSupplier<T> topicSupplier)
-
Method Details
-
withProducerProperties
-
withBufferSize
-
withTopicSupplier
-
withDataSerializer
public AsyncKafkaExporter.Builder<T> withDataSerializer(Function<T, org.apache.kafka.clients.producer.ProducerRecord<String, byte[]>> dataSerializer) -
withFilter
-
build
-