9 Messaging and event streaming with Vert.x

This chapter covers

  • Messaging with AMQP
  • Event streaming with Apache Kafka
  • Sending emails
  • Integration testing with messaging and event-streaming middleware

Reactive applications are a good fit for messaging and event-streaming technologies. So far we have mostly looked at services that expose HTTP APIs. But although HTTP is a versatile and effective protocol for interacting with a service, it should not be the only choice.

There are several options for integrating Vert.x-based services using messaging and event streaming. This chapter introduces AMQP message brokers and Apache Kafka. We will also discuss sending email using an SMTP server.

In this chapter we’ll dive into the implementation of the ...

Get Vert.x in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.