nerdexam
Confluent

CCDAK · Question #161

What is the purpose of the key.serializer property?

The correct answer is A. key.serializer specifies the serializer class to use for the key of the message. The key.serializer property specifies the serializer class to use for the key of the message when producing data to Kafka.

Developing Kafka Producers

Question

What is the purpose of the key.serializer property?

Options

  • Akey.serializer specifies the serializer class to use for the key of the message.
  • Bkey.serializer specifies the serializer class to use for the value of the message.
  • Ckey.serializer determines which class to use for the message.
  • Dkey.serializer determines where to send the message.

How the community answered

(21 responses)
  • A
    86% (18)
  • B
    5% (1)
  • D
    10% (2)

Explanation

The key.serializer property specifies the serializer class to use for the key of the message when producing data to Kafka.

Topics

#key.serializer#producer configuration#serialization

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice