Discovering MongoDB in PCF
Along with a simple RabbitMQ configuration, there is a slightly more complicated configuration for Reactive Data Storages. One of the conceptual differences between non-Reactive and Reactive Data Storages is a client or a driver. Non-Reactive clients and drivers are well integrated into the Spring ecosystem and battle-tested by many solutions. In contrast, Reactive Clients are still a novelty.
At the time of writing, PCF Version 2.2 does not provide out-of-the-box configuration for Reactive MongoDB (as well as for any other DB with reactive clients). Fortunately, using the Spring Cloud Connectors module, we may access the required information and configure Reactive MongoDB Client, as shown in the following example ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access