the event listener
Last updated
Last updated
The (SendGrid) Event Activity service is a REST microservice that
When we submit a request to SendGrid we get an immediate response that the request was received. We can also get asynchronous event activity
messages from Sendgrid about the delivery progress and how the recipient interacted with the email.
In order to get these we need to set up a REST 'endpoint' that listens for the messages, and we need to tell Sendgrid to send the messages to our endpoint.
The Event Activity
service will listen for these messages and store the raw data in Kafka for further processing. Unlike the Sendgrid mailer service, we replace the controller with a reactive router so that we can explore testing that sort of service. In the next few sections we'll