Source Class

The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.

Inheritance
Source

Constructor

Source(*, addr: Optional[str] = None, instance_id: Optional[str] = None, **kwargs)

Variables

addr
str

The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port.

instance_id
str

The running instance of an application. Changes after each restart.