🐜
tiny engines
  • Tiny Engines
  • Personal Website Home
  • NFL machine learning capstone
    • project presentation
    • project proposal
    • project approach
    • project structure
    • project workflow
    • project summary
    • project code
  • Onboarding new hires
    • motivation
    • the project
    • the mailer service
      • mailer setup
      • walk-through
      • unit testing
      • testing the controller
      • testing the handler
      • testing the mailer
      • integration testing
      • integration example
      • acceptance testing
      • acceptance example
      • documenting the API
      • test coverage
      • performance testing
      • mutation testing
      • grammar checking
    • the event listener
      • design
      • webhook setup
      • walk-through
      • testing
      • the kafka connector
  • Walk-throughs
    • spark streaming hld
      • background
      • architecture
      • threat
      • project
      • transform-design
      • transform-poc
      • query-poc
    • kafka walkthroughs
    • java futures
      • async servers
      • async clients
      • async streams
Powered by GitBook
On this page
  • What are we building
  • Background
  • The basic flow
  • The event activity service

Was this helpful?

  1. Onboarding new hires

the event listener

Previousperformance testingNextdesign

Last updated 3 years ago

Was this helpful?

What are we building

The (SendGrid) Event Activity service is a REST microservice that

Background

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 basic flow

The event activity service

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