{"action":"opened","issue":{"url":"https://api.github.com/repos/akkadotnet/akka.net/issues/1660","labels_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/1660/labels{/name}","comments_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/1660/comments","events_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/1660/events","html_url":"https://github.com/akkadotnet/akka.net/issues/1660","id":128075912,"number":1660,"title":"ClusterSharding is not loading the required ClusterSingletonManager.DefaultConfig","user":{"login":"trbngr","id":364786,"avatar_url":"https://avatars.githubusercontent.com/u/364786?v=3","gravatar_id":"","url":"https://api.github.com/users/trbngr","html_url":"https://github.com/trbngr","followers_url":"https://api.github.com/users/trbngr/followers","following_url":"https://api.github.com/users/trbngr/following{/other_user}","gists_url":"https://api.github.com/users/trbngr/gists{/gist_id}","starred_url":"https://api.github.com/users/trbngr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trbngr/subscriptions","organizations_url":"https://api.github.com/users/trbngr/orgs","repos_url":"https://api.github.com/users/trbngr/repos","events_url":"https://api.github.com/users/trbngr/events{/privacy}","received_events_url":"https://api.github.com/users/trbngr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-22T03:31:02Z","updated_at":"2016-01-22T03:31:02Z","closed_at":null,"body":"As titled.\r\n\r\nFollowing the example in the docs, \r\n\r\n`var sharding = ClusterSharding.Get(system);`\r\n\r\nthrows a NRE.\r\n\r\nin `ClusterShardingSettings` we try to load the `coordinator-singleton` path but it's not there.\r\n\r\nand we throw.\r\n\r\n```\r\n        public static ClusterShardingSettings Create(ActorSystem system)\r\n        {\r\n            var config = system.Settings.Config.GetConfig(\"akka.cluster.sharding\");\r\n            var coordinatorSingletonPath = config.GetString(\"coordinator-singleton\");\r\n\r\n            return Create(config, system.Settings.Config.GetConfig(coordinatorSingletonPath));\r\n        }\r\n\r\n        public static ClusterShardingSettings Create(Config config, Config singletonConfig)\r\n        {\r\n            var tuningParameters = new TunningParameters(\r\n                coordinatorFailureBackoff: config.GetTimeSpan(\"coordinator-failure-backoff\"),\r\n                retryInterval: config.GetTimeSpan(\"retry-interval\"),\r\n                bufferSize: config.GetInt(\"buffer-size\"),\r\n                handOffTimeout: config.GetTimeSpan(\"handoff-timeout\"),\r\n                shardStartTimeout: config.GetTimeSpan(\"shard-start-timeout\"),\r\n                shardFailureBackoff: config.GetTimeSpan(\"shard-failure-backoff\"),\r\n                entityRestartBackoff: config.GetTimeSpan(\"entity-restart-backoff\"),\r\n                rebalanceInterval: config.GetTimeSpan(\"rebalance-interval\"),\r\n                snapshotAfter: config.GetInt(\"snapshot-after\"),\r\n                leastShardAllocationRebalanceThreshold: config.GetInt(\"least-shard-allocation-strategy.rebalance-threshold\"),\r\n                leastShardAllocationMaxSimultaneousRebalance: config.GetInt(\"least-shard-allocation-strategy.max-simultaneous-rebalance\"));\r\n\r\n            var coordinatorSingletonSettings = ***BOOMTOWN*** ClusterSingletonManagerSettings.Create(singletonConfig);\r\n```\r\n\r\n"}}