{"id":13621968,"url":"https://github.com/spring-cloud/spring-cloud-netflix","last_synced_at":"2025-09-09T20:21:04.226Z","repository":{"id":18540926,"uuid":"21741891","full_name":"spring-cloud/spring-cloud-netflix","owner":"spring-cloud","description":"Integration with Netflix OSS components","archived":false,"fork":false,"pushed_at":"2025-05-01T12:36:26.000Z","size":20623,"stargazers_count":4917,"open_issues_count":98,"forks_count":2458,"subscribers_count":362,"default_branch":"main","last_synced_at":"2025-05-05T17:21:22.577Z","etag":null,"topics":["cloud-native","feign","java","microservices","netflix-eureka","netflix-hystrix","netflix-zuul","netflixoss","ribbon","spring","spring-boot","spring-cloud","spring-cloud-core"],"latest_commit_sha":null,"homepage":"http://cloud.spring.io/spring-cloud-netflix/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spring-cloud.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2014-07-11T15:46:12.000Z","updated_at":"2025-05-05T11:11:27.000Z","dependencies_parsed_at":"2023-10-13T11:23:27.503Z","dependency_job_id":"166950b3-0a76-4f08-a0cf-c828cfc47f25","html_url":"https://github.com/spring-cloud/spring-cloud-netflix","commit_stats":{"total_commits":2794,"total_committers":264,"mean_commits":"10.583333333333334","dds":0.6921975662133142,"last_synced_commit":"b06b50d0557097def93bc86f12f3bf71f73d44b3"},"previous_names":[],"tags_count":152,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-cloud%2Fspring-cloud-netflix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-cloud%2Fspring-cloud-netflix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-cloud%2Fspring-cloud-netflix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-cloud%2Fspring-cloud-netflix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spring-cloud","download_url":"https://codeload.github.com/spring-cloud/spring-cloud-netflix/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253833371,"owners_count":21971403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud-native","feign","java","microservices","netflix-eureka","netflix-hystrix","netflix-zuul","netflixoss","ribbon","spring","spring-boot","spring-cloud","spring-cloud-core"],"created_at":"2024-08-01T21:01:12.557Z","updated_at":"2025-09-09T20:21:04.184Z","avatar_url":"https://github.com/spring-cloud.png","language":"Java","readme":"////\nDO NOT EDIT THIS FILE. IT WAS GENERATED.\nManual changes to this file will be lost when it is generated again.\nEdit the files in the src/main/asciidoc/ directory instead.\n////\n\n\n\nimage::https://github.com/spring-cloud/spring-cloud-netflix/actions/workflows/maven.yml/badge.svg?branch=main\u0026style=svg[\"Build\",link=\"https://github.com/spring-cloud/spring-cloud-netflix/actions/workflows/maven.yml\"]\n\nimage:https://codecov.io/gh/spring-cloud/spring-cloud-netflix/branch/main/graph/badge.svg[\"Codecov\", link=\"https://app.codecov.io/gh/spring-cloud/spring-cloud-netflix/tree/main\"]\n\n\n[[features]]\n== Features\n\n* Service Discovery: Eureka instances can be registered and clients can discover the instances using Spring-managed beans\n* Service Discovery: an embedded Eureka server can be created with declarative Java configuration\n\n\n[[building]]\n== Building\n\n:jdkversion: 17\n\n[[basic-compile-and-test]]\n== Basic Compile and Test\n\nTo build the source you will need to install JDK {jdkversion}.\n\nSpring Cloud uses Maven for most build-related activities, and you\nshould be able to get off the ground quite quickly by cloning the\nproject you are interested in and typing\n\n----\n$ ./mvnw install\n----\n\nNOTE: You can also install Maven (\u003e=3.3.3) yourself and run the `mvn` command\nin place of `./mvnw` in the examples below. If you do that you also\nmight need to add `-P spring` if your local Maven settings do not\ncontain repository declarations for spring pre-release artifacts.\n\nNOTE: Be aware that you might need to increase the amount of memory\navailable to Maven by setting a `MAVEN_OPTS` environment variable with\na value like `-Xmx512m -XX:MaxPermSize=128m`. We try to cover this in\nthe `.mvn` configuration, so if you find you have to do it to make a\nbuild succeed, please raise a ticket to get the settings added to\nsource control.\n\nThe projects that require middleware (i.e. Redis) for testing generally\nrequire that a local instance of https://www.docker.com/get-started[Docker] is installed and running.\n\n[[documentation]]\n== Documentation\n\nThe spring-cloud-build module has a \"docs\" profile, and if you switch\nthat on it will try to build asciidoc sources using https://docs.antora.org/antora/latest/[Antora] from\n`modules/ROOT/`.\n\nAs part of that process it will look for a\n`docs/src/main/asciidoc/README.adoc` and process it by loading all the includes, but not\nparsing or rendering it, just copying it to `${main.basedir}`\n(defaults to `$\\{basedir}`, i.e. the root of the project). If there are\nany changes in the README it will then show up after a Maven build as\na modified file in the correct place. Just commit it and push the change.\n\n[[working-with-the-code]]\n== Working with the code\nIf you don't have an IDE preference we would recommend that you use\nhttps://spring.io/tools[Spring Tools Suite] or\nhttps://eclipse.org[Eclipse] when working with the code. We use the\nhttps://eclipse.org/m2e/[m2eclipse] eclipse plugin for maven support. Other IDEs and tools\nshould also work without issue as long as they use Maven 3.3.3 or better.\n\n[[activate-the-spring-maven-profile]]\n=== Activate the Spring Maven profile\nSpring Cloud projects require the 'spring' Maven profile to be activated to resolve\nthe spring milestone and snapshot repositories. Use your preferred IDE to set this\nprofile to be active, or you may experience build errors.\n\n[[importing-into-eclipse-with-m2eclipse]]\n=== Importing into eclipse with m2eclipse\nWe recommend the https://eclipse.org/m2e/[m2eclipse] eclipse plugin when working with\neclipse. If you don't already have m2eclipse installed it is available from the \"eclipse\nmarketplace\".\n\nNOTE: Older versions of m2e do not support Maven 3.3, so once the\nprojects are imported into Eclipse you will also need to tell\nm2eclipse to use the right profile for the projects.  If you\nsee many different errors related to the POMs in the projects, check\nthat you have an up to date installation.  If you can't upgrade m2e,\nadd the \"spring\" profile to your `settings.xml`. Alternatively you can\ncopy the repository settings from the \"spring\" profile of the parent\npom into your `settings.xml`.\n\n[[importing-into-eclipse-without-m2eclipse]]\n=== Importing into eclipse without m2eclipse\nIf you prefer not to use m2eclipse you can generate eclipse project metadata using the\nfollowing command:\n\n[indent=0]\n----\n\t$ ./mvnw eclipse:eclipse\n----\n\nThe generated eclipse projects can be imported by selecting `import existing projects`\nfrom the `file` menu.\n\n\nNOTE:  To build the module `spring-cloud-netflix-hystrix-contract` along with the entire Netflix project run the\n`build.sh` script in the `scripts` directory.\n\n[[contributing]]\n== Contributing\n\nNOTE: Spring Cloud is released under the non-restrictive Apache 2.0 license. If you would like to contribute to this section of the documentation or if you find an error, please find the source code and issue trackers in the project at {github-project}[github].\n\n[[license]]\n== License\n\nThe project license file is available https://raw.githubusercontent.com/spring-cloud/spring-cloud-netflix/main/LICENSE.txt[here].\n","funding_links":[],"categories":["Java","开发框架","Load Balancer"],"sub_categories":["Client-side"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspring-cloud%2Fspring-cloud-netflix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspring-cloud%2Fspring-cloud-netflix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspring-cloud%2Fspring-cloud-netflix/lists"}