>From here 
<http://doc.akka.io/docs/akka/2.4.3/scala/cluster-sharding.html#Distributed_Data_Mode>


"You must explicitly add the akka-distributed-data-experimental dependency 
to your build if you use this mode. It is possible to remove 
akka-persistence dependency from a project if it is not used in user code 
and remember-entities is off."




On Thursday, 7 April 2016 10:44:21 UTC+1, Paul Cleary wrote:
>
> Here is the config I am using...
>
> I am using the dynamodb akka persistence plugin right now and it works 
> fine when it is in there.
>
> If I take out the persistence configuration all together then cluster 
> sharding does not start up, I see this error:
>
> 16-04-07 01:06:14,514 [test] ERROR | 
> [project-akka.actor.default-dispatcher-2] (a.a.OneForOneStrategy:71) | 
> AKKA_SOURCE=akka://project/system/sharding/MyEntity/-28 | requirement 
> failed: default journal plugin is not configured, see 'reference.conf' 
> akka.actor.ActorInitializationException: exception during creation.
>
> Note: I am spinning up a docker cluster with this config, that is why the 
> remote section looks the way it does...
>
> akka {
>   loglevel = "INFO"
>   loggers = ["akka.event.slf4j.Slf4jLogger"]
>   logging-filter = "akka.event.slf4j.Slf4jLoggingFilter"
>
>   extensions = [
>     "akka.cluster.client.ClusterClientReceptionist",
>     "akka.cluster.metrics.ClusterMetricsExtension",
>     "akka.cluster.ddata.DistributedData"
>   ]
>
>   cluster.sharding.state-store-mode = ddata
>
>   # disables classic / legacy metrics
>   cluster.metrics.enabled=off
>
>   actor {
>     provider = "akka.cluster.ClusterActorRefProvider"
>   }
>
>   persistence {
>     journal.plugin = "dynamodb-journal"
>   }
>
>   remote {
>     log-remote-lifecycle-events = off
>     netty.tcp {
>       bind-hostname = ${project.app.host}
>       bind-port = 2551
>       hostname = ${project.app.main}
>       port = ${project.app.port}
>     }
>   }
>
>   cluster {
>     log-info = off
>     seed-nodes = [
>       "akka.tcp://project@"${project.app.main}":"${project.app.seed-port}
>     ]
>     auto-down-unreachable-after = 10s
>
>     sharding {
>       # Will auto start entities when a node crashes
>       remember-entities = on
>     }
>
>     debug {
>       # log heartbeat events (very verbose, useful mostly when debugging 
> heartbeating issues)
>       verbose-heartbeat-logging = off
>     }
>   }
> }
>
>
>
>
>

-- 
>>>>>>>>>>      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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to