Thanks you Juanjo!

2015-06-24 16:07 GMT+03:00 Juan José Vázquez Delgado <
juanjo.vazquez.delg...@tecsisa.com>:

> Hi Avi,
>
> I've found this project [1] particularly useful in order to implement your
> DDD modeling with the use of Akka. Kudos for Paweł Kaczor. In our
> implementation, we've changed some backends, as Kafka and Cassandra instead
> of Event Store, and built some others building blocks, but this project was
> a source of inspiration for us in the beginnig of our Akka/DDD/CQRS/ES
> journey.
>
> BR,
>
> Juanjo
>
> [1] https://github.com/pawelkaczor/ddd-leaven-akka-v2
>
>
> El martes, 23 de junio de 2015, 17:44:00 (UTC+2), Avi escribió:
>>
>> Hi
>> I saw this example at typesafe activator *akka-persistence-eventsourcing
>> <https://github.com/ScalaConsultants/akka-persistence-eventsourcing> and it
>> is really awesome ,but I have just a small question. *
>> *in the project demonstrated we have the *VehicleAggregate
>> <https://github.com/ScalaConsultants/akka-persistence-eventsourcing/blob/master/src/main/scala/io/scalac/seed/domain/VehicleAggregate.scala>
>> and the userAggregate which are completely separated , but what if we
>> had another aggregate, i.e DriverAggregate (the driver that handle the
>> vehicle) which can accept command like :
>> case class PaintYourCar(color:String) extends Command
>> and should send command to the VehicleAggregate with the ChangeColor
>> command .
>>
>> *what is the best practice to do that ? *
>>
>> should the DriverAggregate have a reference in it's constructor to the 
>> VehicleAggregate
>> actorRef ? which means that the DriverAggregateManager should have
>> something like
>> {
>> ...
>> val vehicleAggregateRef = VehicleAggregateManager
>> <https://github.com/ScalaConsultants/akka-persistence-eventsourcing/blob/master/src/main/scala/io/scalac/seed/service/VehicleAggregateManager.scala>
>> .create(id)
>>   override def aggregateProps(id: String) = DriverAggregate.props(id,
>> vehicleAggregateRef)
>> ...
>> }
>> but it doesn't feel very good .
>> Please advise
>>
>> Avi
>>
>>  --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "Akka User List" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/akka-user/Q9UGygYZjd8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to