Share via


Source Class

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

Constructor

Source(*args: Any, **kwargs: Any)

Variables

Name Description
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.

Attributes

addr

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.

addr: str | None

instance_id

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

instance_id: str | None