Chapter 10. Database integrations

This chapter covers

  • Publishing AMQP messages from PostgreSQL
  • Making RabbitMQ listen to PostgreSQL notifications
  • Using the InfluxDB storage exchange to store messages

Using RabbitMQ to decouple write operations against OLTP databases is a common way to achieve great data warehousing and event-stream processing techniques. When you publish messages with serialized data that will be written to the database, a simple consumer application can act as the bridge between events and your database. But it’s possible to skip the consumer step altogether and use a RabbitMQ plugin, such as the InfluxDB storage exchange, and automatically store messages in your database, directly from RabbitMQ.

The integration of RabbitMQ ...

Get RabbitMQ in Depth 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.