Quantcast
Viewing all articles
Browse latest Browse all 1367

Kafka Transactional Producer

Hi,

Does Kafka Alpakka supports out of the box transactional producer, I mean like transaction on Producer part only where transactions are committed such as this

producer.initTransactions();
try {
producer.beginTransaction();
producer.send(record1);
producer.send(record2);
producer.commitTransaction();
} catch(ProducerFencedException e) {
producer.close();
} catch(KafkaException e) {
producer.abortTransaction();
}

or I should be the one to explicitly putting this

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1367

Trending Articles