If I want to send binary data through the REST proxy to topic "test_binary", it needs to be base64 encoded. A consumer connecting directly into the Kafka topic
- "test_binary" will receive
- binary data
- avro data
- json data
- base64 encoded data, it will need to decode it
Answer(s): B
Explanation:
On the producer side, after receiving base64 data, the REST Proxy will convert it into bytes and then send that bytes payload to Kafka. Therefore, consumers reading directly from Kafka will receive binary data.
Reveal Solution Next Question