1.

Explain How You Can Get Exactly Once Messaging From Kafka During Data Production?

Answer»

During data, production to get exactly once messaging from Kafka you have to FOLLOW two things avoiding duplicates during data consumption and avoiding duplication during data production.

Here are the two ways to get exactly one semantics while data production:

  • AVAIL a single writer per partition, every time you get a network error CHECKS the last message in that partition to see if your last write succeeded
  • In the message include a primary KEY (UUID or SOMETHING) and de-duplicate on the consumer

During data, production to get exactly once messaging from Kafka you have to follow two things avoiding duplicates during data consumption and avoiding duplication during data production.

Here are the two ways to get exactly one semantics while data production:



Discussion

No Comment Found