Refactor Source
and LoadBalancer
#1621
Labels
refactoring
Code improvements without logical changes
Milestone
Source
and LoadBalancer
#1621
Currently
Source
inetl
just holdsSubscriptionSource
,GrpcSource
andForwardingSource
. It is a bad design to have proxy classes soSource
could be refactored to provide a direct access to all the underlying sources instead of proxying their methods.Also currently it is not very convenient for tests that
LoadBalancer
creates all the sources in constructor from config file. It would be better forLoadBalancer
to have a methodaddSource()
and another methodmake_LoadBalancer()
creating all sources from config and adding them toLoadBalancer
.The text was updated successfully, but these errors were encountered: