{"action":"created","issue":{"url":"https://api.github.com/repos/mrniko/redisson/issues/494","repository_url":"https://api.github.com/repos/mrniko/redisson","labels_url":"https://api.github.com/repos/mrniko/redisson/issues/494/labels{/name}","comments_url":"https://api.github.com/repos/mrniko/redisson/issues/494/comments","events_url":"https://api.github.com/repos/mrniko/redisson/issues/494/events","html_url":"https://github.com/mrniko/redisson/issues/494","id":155773962,"number":494,"title":"RedissonRemoteService ideas","user":{"login":"pierredavidbelanger","id":1076726,"avatar_url":"https://avatars.githubusercontent.com/u/1076726?v=3","gravatar_id":"","url":"https://api.github.com/users/pierredavidbelanger","html_url":"https://github.com/pierredavidbelanger","followers_url":"https://api.github.com/users/pierredavidbelanger/followers","following_url":"https://api.github.com/users/pierredavidbelanger/following{/other_user}","gists_url":"https://api.github.com/users/pierredavidbelanger/gists{/gist_id}","starred_url":"https://api.github.com/users/pierredavidbelanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pierredavidbelanger/subscriptions","organizations_url":"https://api.github.com/users/pierredavidbelanger/orgs","repos_url":"https://api.github.com/users/pierredavidbelanger/repos","events_url":"https://api.github.com/users/pierredavidbelanger/events{/privacy}","received_events_url":"https://api.github.com/users/pierredavidbelanger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-05-19T16:01:08Z","updated_at":"2016-05-20T13:40:35Z","closed_at":null,"body":"Here, two things that would be great additions (I think) to the RedissonRemoteService.\r\n\r\n**1) Be able to choose the remote service interface prefix**\r\n\r\nRight now its hardcoded to `redisson_remote_service:`. \r\n\r\nThe use case is simple: for example I want to be able to deploy the same worker application (that expose the same service) on two types of instances (say some AWS m3-* for standard use, and some c4-* for hardcore use).\r\n\r\nSo on the server side I would call:\r\n```java\r\nString servicePrefix = System.getProperty(\"SERVICE_PREFIX\"); // whatever where this come from\r\nRRemoteService remoteService = client.getRemoteSerivce(servicePrefix);\r\nremoteService.register(...) // as usual\r\n```\r\n\r\nAnd on the client side:\r\n```java\r\nString servicePrefix = /* whatever code that decide if its a standard call or an hardcore one */;\r\nRRemoteService remoteService = client.getRemoteSerivce(servicePrefix);\r\nremoteService.get(...) // as usual\r\n```\r\n\r\n**2) Be able to issue one-way call (ie: wait for the ack, but not the actual response)**\r\n\r\nThis could be a client side only change, for example, by having a new set of `RRemoteService.get(...)` methods, that takes a `boolean waitForResponse`...\r\n\r\nOr, maybe, re-use the `RRemoteService.get(...)`'s `long executionTimeout`, where a value of `executionTimeout < 0` would indicate to the client to wait for the ack, but not the actual response."},"comment":{"url":"https://api.github.com/repos/mrniko/redisson/issues/comments/220608285","html_url":"https://github.com/mrniko/redisson/issues/494#issuecomment-220608285","issue_url":"https://api.github.com/repos/mrniko/redisson/issues/494","id":220608285,"user":{"login":"jackygurui","id":2514975,"avatar_url":"https://avatars.githubusercontent.com/u/2514975?v=3","gravatar_id":"","url":"https://api.github.com/users/jackygurui","html_url":"https://github.com/jackygurui","followers_url":"https://api.github.com/users/jackygurui/followers","following_url":"https://api.github.com/users/jackygurui/following{/other_user}","gists_url":"https://api.github.com/users/jackygurui/gists{/gist_id}","starred_url":"https://api.github.com/users/jackygurui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackygurui/subscriptions","organizations_url":"https://api.github.com/users/jackygurui/orgs","repos_url":"https://api.github.com/users/jackygurui/repos","events_url":"https://api.github.com/users/jackygurui/events{/privacy}","received_events_url":"https://api.github.com/users/jackygurui/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T13:40:34Z","updated_at":"2016-05-20T13:40:34Z","body":"All method future goes to the same listener?"}}
{"actor":{"display_login":"jackygurui"}}