Class BeamKafkaProducer
java.lang.Object
org.apache.kafka.clients.producer.KafkaProducer<String,org.apache.avro.generic.GenericRecord>
com.logicalclocks.hsfs.beam.engine.BeamKafkaProducer
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.kafka.clients.producer.Producer<String,org.apache.avro.generic.GenericRecord>
public class BeamKafkaProducer
extends org.apache.kafka.clients.producer.KafkaProducer<String,org.apache.avro.generic.GenericRecord>
-
Field Summary
Fields inherited from class org.apache.kafka.clients.producer.KafkaProducer
NETWORK_THREAD_PREFIX, PRODUCER_METRIC_GROUP_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFuture<org.apache.kafka.clients.producer.RecordMetadata>send(org.apache.kafka.clients.producer.ProducerRecord record) Future<org.apache.kafka.clients.producer.RecordMetadata>send(org.apache.kafka.clients.producer.ProducerRecord record, org.apache.kafka.clients.producer.Callback callback) Methods inherited from class org.apache.kafka.clients.producer.KafkaProducer
abortTransaction, beginTransaction, clientInstanceId, close, close, commitTransaction, flush, initTransactions, metrics, partitionsFor, sendOffsetsToTransaction, sendOffsetsToTransaction
-
Constructor Details
-
BeamKafkaProducer
-
-
Method Details
-
send
public Future<org.apache.kafka.clients.producer.RecordMetadata> send(org.apache.kafka.clients.producer.ProducerRecord record) -
send
public Future<org.apache.kafka.clients.producer.RecordMetadata> send(org.apache.kafka.clients.producer.ProducerRecord record, org.apache.kafka.clients.producer.Callback callback)
-