I have a Kafka Consumer, where i listen to the messages, once I get the message , I parse the message and extract necessary information. Once I have necessary info, I need to make 2 api calls to get the required information and compare the results. Once result is compared I need to make an another API call. My question is
- Should i be calling web services from the Kafka message listener?
- if yes what is the efficient way to do so?
Aucun commentaire:
Enregistrer un commentaire