Questions tagged [kafka-transactions-api]

The Kafka Transactions API allows writing to and reading from topics as atomic operations, enabling the implementation of exactly-once strategies.

The Kafka Transactions API allows writing to and reading from topics as atomic operations, enabling the implementation of exactly-once strategies. Exactly-Once means that each message read is processed exactly once and, as a rule, exactly one message is written to the output topic.

33 questions
0
votes
1 answer

kafka Transactional producer example

I get a message from a source-topic. Then I split the message into 3 parts and send every parts to 3 different topics. Now 2 messages are delivered to 1st 2 topic successfully. But while sending 3rd message we get exceptions (e.g.…
0
votes
1 answer

Can we apply Kafka exactly-once semantics in read-process scenario?

How can we make sure Kafka exactly-once semantics in read-process scenario. read means we are reading from Kafka topic and doing some processing and then we are trying to commit the offset. Lets suppose, we processed the messages but could not able…
Girish
  • 166
  • 1
  • 2
  • 13
0
votes
0 answers

How @transactional work in Kafka Consumer

I am using @trasactional in my Kafka Consumer. In that same method (marked with @transactional), I am doing some DB transaction. In case of DB transaction failure, my consumer try to consume the message 10 times & after that throws "Backoff…
1 2
3