A

Admin • 831.35K Points
Coach

Q. What is commitAsync() in Kafka consumer?

Code:
consumer.commitAsync();
  • (A) Synchronous commit
  • (B) Asynchronous offset commit
  • (C) Deletes offsets
  • (D) Reads messages
  • Correct Answer - Option(B)
  • Views: 3
  • Filed under category Apache Kafka
  • Hashtags:

Explanation by: Admin
commitAsync commits offsets without blocking the consumer.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.