Infosys interview question

Kafka and rest api design