lundi 19 août 2019

Web service call from Kafka Consumer using Spring Kafka

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

  1. Should i be calling web services from the Kafka message listener?
  2. if yes what is the efficient way to do so?

Aucun commentaire:

Enregistrer un commentaire