QuestionQ3

VerifiedDesigning APIs for reuse and governance

An organization has developed a large monolithic application over time and is now seeking to move to a microservices architecture. During this transition, it has created several System APIs as Mule applications that expose access to different functionality within the monolithic application. The System APIs are deployed to Mule runtimes on a customer-hosted EC2 instance in AWS.

The System APIs connect directly to a single database used by the monolithic application. Currently, every project must include a Database connector and its connector configuration. There is a future plan to split this database into several smaller data stores.

What MuleSoft-recommended best practice should be used to share the connector and configuration information across the APIs?

Explanation

A Mule domain centralizes shared global resources, including connector configurations, for Mule applications deployed under that domain on the same customer-hosted Mule runtime. Defining the Database connector and configuration once in a shared domain lets each System API reference the same resource, maintaining a single consistent configuration and shared database connection.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!