keijack / python-eureka-client

A eureka client written in python. Support registering your python component to Eureka Server, as well as calling remote services by pulling the the Eureka registry.
MIT License
187 stars 44 forks source link

Add Event mechanical #34

Closed keijack closed 3 years ago

keijack commented 4 years ago

Add a event mechanical. When fails (or event successes) when registering, pulling registry, sending heartbeat, a event will be publish, the listener will read the event, then can do something with it, for example, write logs or close the client when fails for many times.

keijack commented 3 years ago

although not so perfect, but you can receive error when error occurs now.