{"action":"created","issue":{"url":"https://api.github.com/repos/Mashape/kong/issues/154","repository_url":"https://api.github.com/repos/Mashape/kong","labels_url":"https://api.github.com/repos/Mashape/kong/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/Mashape/kong/issues/154/comments","events_url":"https://api.github.com/repos/Mashape/kong/issues/154/events","html_url":"https://github.com/Mashape/kong/issues/154","id":70263314,"number":154,"title":"[request] circuit breakers","user":{"login":"sinzone","id":1213643,"avatar_url":"https://avatars.githubusercontent.com/u/1213643?v=3","gravatar_id":"","url":"https://api.github.com/users/sinzone","html_url":"https://github.com/sinzone","followers_url":"https://api.github.com/users/sinzone/followers","following_url":"https://api.github.com/users/sinzone/following{/other_user}","gists_url":"https://api.github.com/users/sinzone/gists{/gist_id}","starred_url":"https://api.github.com/users/sinzone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sinzone/subscriptions","organizations_url":"https://api.github.com/users/sinzone/orgs","repos_url":"https://api.github.com/users/sinzone/repos","events_url":"https://api.github.com/users/sinzone/events{/privacy}","received_events_url":"https://api.github.com/users/sinzone/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Mashape/kong/labels/BC","name":"BC","color":"fbca04"},{"url":"https://api.github.com/repos/Mashape/kong/labels/idea/new%20plugin","name":"idea/new plugin","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2015-04-22T23:43:02Z","updated_at":"2016-07-14T06:57:09Z","closed_at":null,"body":"Circuit breakers prevent thundering herds, and improve resiliency against intermittent errors. Every client-side endpoint should be wrapped in a circuit breaker. "},"comment":{"url":"https://api.github.com/repos/Mashape/kong/issues/comments/232576458","html_url":"https://github.com/Mashape/kong/issues/154#issuecomment-232576458","issue_url":"https://api.github.com/repos/Mashape/kong/issues/154","id":232576458,"user":{"login":"jmdacruz","id":1178370,"avatar_url":"https://avatars.githubusercontent.com/u/1178370?v=3","gravatar_id":"","url":"https://api.github.com/users/jmdacruz","html_url":"https://github.com/jmdacruz","followers_url":"https://api.github.com/users/jmdacruz/followers","following_url":"https://api.github.com/users/jmdacruz/following{/other_user}","gists_url":"https://api.github.com/users/jmdacruz/gists{/gist_id}","starred_url":"https://api.github.com/users/jmdacruz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmdacruz/subscriptions","organizations_url":"https://api.github.com/users/jmdacruz/orgs","repos_url":"https://api.github.com/users/jmdacruz/repos","events_url":"https://api.github.com/users/jmdacruz/events{/privacy}","received_events_url":"https://api.github.com/users/jmdacruz/received_events","type":"User","site_admin":false},"created_at":"2016-07-14T06:57:09Z","updated_at":"2016-07-14T06:57:09Z","body":"Sounds like a nice first step. I think it would be interesting to explore how the plugin could re-enable itself automatically:\r\n- First and foremost, Automatically re-enabling a route should be configurable (e.g., `auto=true`, `auto=false`)\r\n- Alternatives for detecting that a route is \"healthy\":\r\n  - Querying \"OPTIONS\" on the API\r\n  - Querying an endpoint provided by configuration (e.g., `health=http://upstream.somewhere/api/health_check`) using \"GET\". This endpoint is expected to be idempotent (that is, has no side-effects). If 200, then re-enable the circuit.\r\n   - Others?"}}
{"actor":{"display_login":"jmdacruz"}}