I am implementing micro-services using CQRS and Event-Sourcing. I have seen different implementations of CQRS which are quite complex.
What I have understood and implemented is I have made two models for Read(Query) and Write(Command), the read model has a materialized view, and write model uses the Database, now whenever an update happens, the write model updates the database and generates an event, and logs the details to event store, which the read model has subscribed, and the read model updates its materialized view by reading from the event.
My question is whether this model is relying to the basis of CQRS and Event Sourcing?