From 0065162b0977e8cd67261ba1acb27a50dee22b40 Mon Sep 17 00:00:00 2001 From: Michael Schnell Date: Tue, 31 Dec 2019 09:33:43 +0100 Subject: [PATCH] Added hint about shared nothing --- aggregates/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/aggregates/README.md b/aggregates/README.md index bd13c87..51c032b 100644 --- a/aggregates/README.md +++ b/aggregates/README.md @@ -1,3 +1,4 @@ # cqrs4j-example-aggregates DDD related code for all demo applications (aggregates, entities and business exceptions). +> :warning: Normally you should **not** share code this way between your command microservices. A *shared-nothing* approach is a good practice for microservices (See for example [Don't Share Libraries among Microservices](https://phauer.com/2016/dont-share-libraries-among-microservices/)). You can simply copy the content of this module directly into your command project.