Hello,
I am trying to build lagom based solution for my company.
I am using Cassandra as p persistence solution and lagom features available for Cassandra.
This is great framework. However I tried to use remember entities sharding feature and I could not.
Could someone please explain me how it can be used?
Note: I have set configuration properly to run this feature. The problem I am getting is follow:
2019-06-12 11:35:03,825 ERROR akka.cluster.sharding.ShardRegion - When using remember-entities the shard id extractor must handle ShardRegion.StartEntity(id).
scala.MatchError: StartEntity(imo1) (of class akka.cluster.sharding.ShardRegion$StartEntity)
at com.lightbend.lagom.internal.scaladsl.persistence.AbstractPersistentEntityRegistry$$anonfun$2.apply(AbstractPersistentEntityRegistry.scala:67)
It seems the class AbstractPersistentEntityRegistry does not handle properly case for ShardRegion.StartEntity(id)
I could be wrong, of course.
Any help will be appreciated. Thanks in advance.