CVS Health interview question

Do you know Kafka? Please enhance this code