nerdexam
Confluent

CCDAK · Question #188

You are sending messages to a Kafka cluster in JSON format and want to add more information related to each message. The information needed is: - Format of the message payload - Message creation…

The correct answer is A. Header. Additional metadata such as payload format, message creation time, and a unique identifier should be set in the message header to keep it separate from the message value and accessible for tracing and processing.

Kafka Client Fundamentals

Question

You are sending messages to a Kafka cluster in JSON format and want to add more information related to each message. The information needed is:

  • Format of the message payload
  • Message creation time
  • A globally unique identifier that allows the message to be traced as

it flows through the system Where should this additional information be set?

Options

  • AHeader
  • BKey
  • CValue
  • DBroker

How the community answered

(31 responses)
  • A
    90% (28)
  • B
    3% (1)
  • D
    6% (2)

Explanation

Additional metadata such as payload format, message creation time, and a unique identifier should be set in the message header to keep it separate from the message value and accessible for tracing and processing.

Topics

#message headers#metadata#tracing#message structure

Community Discussion

No community discussion yet for this question.

Full CCDAK Practice