{"action":"created","issue":{"url":"https://api.github.com/repos/rsocket/rsocket-java/issues/562","repository_url":"https://api.github.com/repos/rsocket/rsocket-java","labels_url":"https://api.github.com/repos/rsocket/rsocket-java/issues/562/labels{/name}","comments_url":"https://api.github.com/repos/rsocket/rsocket-java/issues/562/comments","events_url":"https://api.github.com/repos/rsocket/rsocket-java/issues/562/events","html_url":"https://github.com/rsocket/rsocket-java/issues/562","id":395773470,"node_id":"MDU6SXNzdWUzOTU3NzM0NzA=","number":562,"title":"Label or tag support for RSocket interface?","user":{"login":"linux-china","id":46711,"node_id":"MDQ6VXNlcjQ2NzEx","avatar_url":"https://avatars2.githubusercontent.com/u/46711?v=4","gravatar_id":"","url":"https://api.github.com/users/linux-china","html_url":"https://github.com/linux-china","followers_url":"https://api.github.com/users/linux-china/followers","following_url":"https://api.github.com/users/linux-china/following{/other_user}","gists_url":"https://api.github.com/users/linux-china/gists{/gist_id}","starred_url":"https://api.github.com/users/linux-china/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linux-china/subscriptions","organizations_url":"https://api.github.com/users/linux-china/orgs","repos_url":"https://api.github.com/users/linux-china/repos","events_url":"https://api.github.com/users/linux-china/events{/privacy}","received_events_url":"https://api.github.com/users/linux-china/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-01-04T00:35:04Z","updated_at":"2019-01-05T20:05:53Z","closed_at":null,"author_association":"NONE","body":"RSocket is almost like session(context support), and is stored in a global list  for later usage on responder side sometimes.  For example: \r\n\r\n- filter some RSockets to send messages back\r\n- priority support for some RSockets\r\n- monitoring statistics \r\n- management metadata for RSocket \r\n\r\nWithout label or tag support, and a global Map will be introduced to add extra information related with the RSocket, and it's very complicated. \r\n\r\nI will create a PR if somebody think this feature useful."},"comment":{"url":"https://api.github.com/repos/rsocket/rsocket-java/issues/comments/451686503","html_url":"https://github.com/rsocket/rsocket-java/issues/562#issuecomment-451686503","issue_url":"https://api.github.com/repos/rsocket/rsocket-java/issues/562","id":451686503,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTY4NjUwMw==","user":{"login":"linux-china","id":46711,"node_id":"MDQ6VXNlcjQ2NzEx","avatar_url":"https://avatars2.githubusercontent.com/u/46711?v=4","gravatar_id":"","url":"https://api.github.com/users/linux-china","html_url":"https://github.com/linux-china","followers_url":"https://api.github.com/users/linux-china/followers","following_url":"https://api.github.com/users/linux-china/following{/other_user}","gists_url":"https://api.github.com/users/linux-china/gists{/gist_id}","starred_url":"https://api.github.com/users/linux-china/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linux-china/subscriptions","organizations_url":"https://api.github.com/users/linux-china/orgs","repos_url":"https://api.github.com/users/linux-china/repos","events_url":"https://api.github.com/users/linux-china/events{/privacy}","received_events_url":"https://api.github.com/users/linux-china/received_events","type":"User","site_admin":false},"created_at":"2019-01-05T20:05:53Z","updated_at":"2019-01-05T20:05:53Z","author_association":"NONE","body":"I think it's not Reactor Context.  Just make RSocket to be Map like to store some KV pairs, almost like ServletContext for Servlet.   I want to attach some atrributes to RSocket, then fetch attributes back according from sending socket. code like following: \r\n```\r\npublic class RSocketResponderHandler extends AbstractRSocket {\r\n\r\n    public RSocketResponderHandler(ConnectionSetupPayload setupPayload, RSocket sendingSocket) {\r\n        //todo parse setup payload\r\n        sendingSocket.setAttribute(\"ip\",\"192.168.1.2\");\r\n    }\r\n    public Mono<Payload> requestResponse(Payload payload) {\r\n        //how to get sending RSocket\r\n        return Mono.just(payload);\r\n    }\r\n}\r\n```\r\n"}}
{"actor":{"display_login":"linux-china"}}