+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 <coolbee...@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