You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicecomb.apache.org by Zhang Lei <co...@gmail.com> on 2019/10/29 07:11:14 UTC

About simplifying Omega configuration

Hi, Team

Currently, Alpha and Omega have some duplicate configurations, such as
alpha.feature.akka.enabled=true, I think Omega can get this information
through Alpha to simplify configuration.

I noticed that the OnConnected method returns a stream object, I have two
options:

1. Redefine the OnConnected method to return alpha configuration(map
object), then add a new method to return the stream object
2. Keep the OnConnected method, then add a new method to get alpha
configuration,
call this method after the connection is successful

Do you have any suggestions?


Best regards,
Lei Zhang

Re: About simplifying Omega configuration

Posted by Willem Jiang <wi...@gmail.com>.
+1 to pass the setting from alpha, it could be more easy for us to
setup coordinate between the Alpha and Omega.
I prefer to add an new method for updating the configuration, so it
will not confuse the old version of Omega.


Willem Jiang

Twitter: willemjiang
Weibo: 姜宁willem

On Tue, Oct 29, 2019 at 3:21 PM Zhang Lei <co...@gmail.com> wrote:
>
> Hi, Team
>
> Currently, Alpha and Omega have some duplicate configurations, such as
> alpha.feature.akka.enabled=true, I think Omega can get this information
> through Alpha to simplify configuration.
>
> I noticed that the OnConnected method returns a stream object, I have two
> options:
>
> 1. Redefine the OnConnected method to return alpha configuration(map
> object), then add a new method to return the stream object
> 2. Keep the OnConnected method, then add a new method to get alpha
> configuration,
> call this method after the connection is successful
>
> Do you have any suggestions?
>
>
> Best regards,
> Lei Zhang