Skip to content

Latest commit

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

python-eureka

The goal of this project is to provide an easy-to-use client interface to Eureka, a middle-tier load balancer open sourced and used by Netflix.

It's fairly straight forward to use once you hve setup Eureka itself. Consider the following script (to be run on EC2):

fromeureka.clientimportEurekaClientimportlogginglogging.basicConfig()
ec=EurekaClient("MyApplication",
eureka_domain_name="test.yourdomain.net",
region="eu-west-1",
vip_address="http://app.yourdomain.net/",
port=80,
secure_vip_address="https://app.yourdomain.net/",
secure_port=443
)
printec.get_zones_from_dns()
printec.get_eureka_urls()
printec.register()
printec.update_status("UP") # Or ec.register("UP")printec.heartbeat()

About

Python client for Netflix Eureka https://github.com/Netflix/eureka/

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages