So MemberCreatedEvent is the renamed InstanceSpawnedEvent ?!

From: Imesh Gunaratne [mailto:[email protected]]
Sent: Tuesday, January 20, 2015 5:20 PM
To: dev
Subject: Re: Question: MemberInitializedEvent (in 4.1) vs. InstanceSpawnedEvent 
?

Hi Martin,

The InstanceSpawnedEvent was renamed to make it consistent with the other 
member events. We have only used "Instance" prefix in instance topics 
(instance/status, instance/notifier). All member events are prefixed with 
"Member".

[cid:[email protected]]
​

MemberCreatedEvent is fired when cloud controller creates a member for a 
request made by autoscaler to start a new member. At this point cloud 
controller generates a new member id and fires this event and returns the 
service call back to the autoscaler. In addition a background process is 
started to start the member via the IaaS.

The above background process will assign IP addressses, attach volumes and once 
everything is completed it will fire MemberInitializedEvent. Cartridge agent 
will wait for this event to start its lifecycle.

I will document this information in Wiki.

Thanks

On Wed, Jan 21, 2015 at 3:22 AM, Martin Eppel (meppel) 
<[email protected]<mailto:[email protected]>> wrote:
In 4.0 the system generated a InstanceSpawnedEvent event when a new instance 
was spawned. In 4.1 (alpha) this event has been removed however a  
MemberInitializedEvent has been added.
Is there a difference or are they the same, just different name ?
Which else event in 4.1 alpha would be the closest to 4.0 InstanceSpawnedEvent ?

Thanks

Martin



--
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Reply via email to