Confluent
CCDAK · Question #108
If I want to send binary data through the REST proxy, it needs to be base64 encoded. Which component needs to encode the binary data into base 64?
The correct answer is A. The Producer. The REST Proxy requires to receive data over REST that is already base64 encoded, hence it is the responsibility of the producer.
Kafka Client Fundamentals
Question
If I want to send binary data through the REST proxy, it needs to be base64 encoded. Which component needs to encode the binary data into base 64?
Options
- AThe Producer
- BThe Kafka Broker
- CZookeeper
- DThe REST Proxy
How the community answered
(24 responses)- A83% (20)
- B4% (1)
- C4% (1)
- D8% (2)
Explanation
The REST Proxy requires to receive data over REST that is already base64 encoded, hence it is the responsibility of the producer.
Topics
#REST proxy#base64 encoding#binary data#producer responsibility
Community Discussion
No community discussion yet for this question.