{"action":"created","issue":{"url":"https://api.github.com/repos/akka/akka-persistence-cassandra/issues/54","repository_url":"https://api.github.com/repos/akka/akka-persistence-cassandra","labels_url":"https://api.github.com/repos/akka/akka-persistence-cassandra/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/akka/akka-persistence-cassandra/issues/54/comments","events_url":"https://api.github.com/repos/akka/akka-persistence-cassandra/issues/54/events","html_url":"https://github.com/akka/akka-persistence-cassandra/issues/54","id":133662988,"number":54,"title":"Resolve Cassandra's host and port dynamically","user":{"login":"huntc","id":694893,"avatar_url":"https://avatars.githubusercontent.com/u/694893?v=3","gravatar_id":"","url":"https://api.github.com/users/huntc","html_url":"https://github.com/huntc","followers_url":"https://api.github.com/users/huntc/followers","following_url":"https://api.github.com/users/huntc/following{/other_user}","gists_url":"https://api.github.com/users/huntc/gists{/gist_id}","starred_url":"https://api.github.com/users/huntc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huntc/subscriptions","organizations_url":"https://api.github.com/users/huntc/orgs","repos_url":"https://api.github.com/users/huntc/repos","events_url":"https://api.github.com/users/huntc/events{/privacy}","received_events_url":"https://api.github.com/users/huntc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"patriknw","id":336161,"avatar_url":"https://avatars.githubusercontent.com/u/336161?v=3","gravatar_id":"","url":"https://api.github.com/users/patriknw","html_url":"https://github.com/patriknw","followers_url":"https://api.github.com/users/patriknw/followers","following_url":"https://api.github.com/users/patriknw/following{/other_user}","gists_url":"https://api.github.com/users/patriknw/gists{/gist_id}","starred_url":"https://api.github.com/users/patriknw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patriknw/subscriptions","organizations_url":"https://api.github.com/users/patriknw/orgs","repos_url":"https://api.github.com/users/patriknw/repos","events_url":"https://api.github.com/users/patriknw/events{/privacy}","received_events_url":"https://api.github.com/users/patriknw/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/akka/akka-persistence-cassandra/milestones/7","html_url":"https://github.com/akka/akka-persistence-cassandra/milestones/0.11","labels_url":"https://api.github.com/repos/akka/akka-persistence-cassandra/milestones/7/labels","id":1587914,"number":7,"title":"0.11","description":"","creator":{"login":"patriknw","id":336161,"avatar_url":"https://avatars.githubusercontent.com/u/336161?v=3","gravatar_id":"","url":"https://api.github.com/users/patriknw","html_url":"https://github.com/patriknw","followers_url":"https://api.github.com/users/patriknw/followers","following_url":"https://api.github.com/users/patriknw/following{/other_user}","gists_url":"https://api.github.com/users/patriknw/gists{/gist_id}","starred_url":"https://api.github.com/users/patriknw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patriknw/subscriptions","organizations_url":"https://api.github.com/users/patriknw/orgs","repos_url":"https://api.github.com/users/patriknw/repos","events_url":"https://api.github.com/users/patriknw/events{/privacy}","received_events_url":"https://api.github.com/users/patriknw/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2016-02-17T09:10:44Z","updated_at":"2016-02-19T15:45:16Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2016-02-15T09:24:46Z","updated_at":"2016-02-22T07:48:31Z","closed_at":null,"body":"[Akka Persistence Cassandra](https://github.com/akka/akka-persistence-cassandra) presently assumes that a Cassandra cluster is accessible at a fixed set of IP addresses. While this may be the case for large Cassandra clusters, it is likely so for smaller Cassandra clusters that are associated with microservices.\r\n\r\nThis problem can be resolved by handling a `Future[Option[(InetAddress, Int)]]` each time a connection is required. We had to solve a similar issue with our internal contrail library. contrail now looks for an actor responsible for service location via actor selection if config declares that this is what we must do. Otherwise we declare a successful future that returns the static host and port of config.\r\n"},"comment":{"url":"https://api.github.com/repos/akka/akka-persistence-cassandra/issues/comments/187058333","html_url":"https://github.com/akka/akka-persistence-cassandra/issues/54#issuecomment-187058333","issue_url":"https://api.github.com/repos/akka/akka-persistence-cassandra/issues/54","id":187058333,"user":{"login":"patriknw","id":336161,"avatar_url":"https://avatars.githubusercontent.com/u/336161?v=3","gravatar_id":"","url":"https://api.github.com/users/patriknw","html_url":"https://github.com/patriknw","followers_url":"https://api.github.com/users/patriknw/followers","following_url":"https://api.github.com/users/patriknw/following{/other_user}","gists_url":"https://api.github.com/users/patriknw/gists{/gist_id}","starred_url":"https://api.github.com/users/patriknw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patriknw/subscriptions","organizations_url":"https://api.github.com/users/patriknw/orgs","repos_url":"https://api.github.com/users/patriknw/repos","events_url":"https://api.github.com/users/patriknw/events{/privacy}","received_events_url":"https://api.github.com/users/patriknw/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T07:48:31Z","updated_at":"2016-02-22T07:48:31Z","body":"@magro that is an interesting thought, I'll take a look at that when completing this"}}