A

Admin • 802.91K Points
Coach

Q. In Kafka, what is the purpose of the 'key' in a message?

  • (A) Encrypts the message
  • (B) Determines the partition
  • (C) Assigns a consumer
  • (D) Stores the timestamp
  • Correct Answer - Option(B)
  • Views: 5
  • Filed under category Apache Kafka
  • Hashtags:

Explanation by: Admin
The message key is used by Kafka to determine which partition a message goes to.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.