Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finagle-core: Add a deny list to LoadService
Motivation `c.t.f.util.LoadService` puts users at the mercy of their transitive dependencies as to what implementation gets loaded. This is simple but can be difficult for users to manage and control. Solution Introduce a global flag that is a deny list for implementations. For a given LoadService interface, if the implementation is found in the deny list, it will not be loaded. -com.twitter.finagle.util.loadServiceDenied=com.twitter.finagle.stats.OstrichStatsReceiver,com.twitter.finagle.stats.CommonsStatsReceiver Result Users have more control over the loaded implemetation when needed. RB_ID=748750 TBR=true
- Loading branch information