{"action":"created","issue":{"url":"https://api.github.com/repos/real-logic/aeron/issues/443","repository_url":"https://api.github.com/repos/real-logic/aeron","labels_url":"https://api.github.com/repos/real-logic/aeron/issues/443/labels{/name}","comments_url":"https://api.github.com/repos/real-logic/aeron/issues/443/comments","events_url":"https://api.github.com/repos/real-logic/aeron/issues/443/events","html_url":"https://github.com/real-logic/aeron/issues/443","id":279358246,"number":443,"title":"Allow ArchiveContext to be configured with an instance of AeronContext","user":{"login":"BrassyPanache","id":469717,"avatar_url":"https://avatars3.githubusercontent.com/u/469717?v=4","gravatar_id":"","url":"https://api.github.com/users/BrassyPanache","html_url":"https://github.com/BrassyPanache","followers_url":"https://api.github.com/users/BrassyPanache/followers","following_url":"https://api.github.com/users/BrassyPanache/following{/other_user}","gists_url":"https://api.github.com/users/BrassyPanache/gists{/gist_id}","starred_url":"https://api.github.com/users/BrassyPanache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrassyPanache/subscriptions","organizations_url":"https://api.github.com/users/BrassyPanache/orgs","repos_url":"https://api.github.com/users/BrassyPanache/repos","events_url":"https://api.github.com/users/BrassyPanache/events{/privacy}","received_events_url":"https://api.github.com/users/BrassyPanache/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-05T12:32:13Z","updated_at":"2017-12-05T12:48:38Z","closed_at":null,"author_association":"NONE","body":"I hope to start an `ArchivingMediaDriver` with an non-default Aeron directory.  I can't do this using only Java code by way of building the required contexts (`Archive.Context` and `MediaDriver.Context`).  I believe I can change the directory using command-line provided properties, however I'd like to be able to do the former.\r\n\r\nUsing `Aeron.Context`, the directory can be changed with the call `Aeron.Context().aeronDirectoryName(\"/tmp\")`. However when trying to create an `ArchivingMediaDriver`, the only mechanism to supply this setting is by passing in an already instantiated instance of `Aeron` as follows: `new Archive.Context().aeron(aeron)`.  As there is currently no `MediaDriver` running (remember the aim is to start one), calling `Aeron.connect()` fails.\r\n\r\nI believe allowing an instance of `Archive.Context` to be configured with an instance of `Aeron.Context` would solve the issue.  This would allow `Archive.Context` to create an instance of Aeron with the provided settings."},"comment":{"url":"https://api.github.com/repos/real-logic/aeron/issues/comments/349294473","html_url":"https://github.com/real-logic/aeron/issues/443#issuecomment-349294473","issue_url":"https://api.github.com/repos/real-logic/aeron/issues/443","id":349294473,"user":{"login":"mjpt777","id":760524,"avatar_url":"https://avatars0.githubusercontent.com/u/760524?v=4","gravatar_id":"","url":"https://api.github.com/users/mjpt777","html_url":"https://github.com/mjpt777","followers_url":"https://api.github.com/users/mjpt777/followers","following_url":"https://api.github.com/users/mjpt777/following{/other_user}","gists_url":"https://api.github.com/users/mjpt777/gists{/gist_id}","starred_url":"https://api.github.com/users/mjpt777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjpt777/subscriptions","organizations_url":"https://api.github.com/users/mjpt777/orgs","repos_url":"https://api.github.com/users/mjpt777/repos","events_url":"https://api.github.com/users/mjpt777/events{/privacy}","received_events_url":"https://api.github.com/users/mjpt777/received_events","type":"User","site_admin":false},"created_at":"2017-12-05T12:48:38Z","updated_at":"2017-12-05T12:48:38Z","author_association":"CONTRIBUTOR","body":"This was addressed with the following commit and will be in the next release.\r\n\r\nhttps://github.com/real-logic/aeron/commit/ef13afbd1cdd21d8e89af2e60b7c2cb15ec86f63"}}
{"actor":{"display_login":"mjpt777"}}