{"id":48680749,"url":"https://github.com/spring-attic/spring-cloud-cluster","last_synced_at":"2026-04-26T20:00:44.308Z","repository":{"id":21068061,"uuid":"24367501","full_name":"spring-attic/spring-cloud-cluster","owner":"spring-attic","description":"This project is now superseded by code in Spring Integration.","archived":true,"fork":false,"pushed_at":"2022-01-20T21:35:58.000Z","size":285,"stargazers_count":154,"open_issues_count":3,"forks_count":79,"subscribers_count":34,"default_branch":"main","last_synced_at":"2026-04-20T19:53:44.974Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://projects.spring.io/spring-integration/","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-attic.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-23T10:49:34.000Z","updated_at":"2026-04-01T02:59:42.000Z","dependencies_parsed_at":"2022-09-05T15:51:37.683Z","dependency_job_id":null,"html_url":"https://github.com/spring-attic/spring-cloud-cluster","commit_stats":null,"previous_names":["spring-cloud/spring-cloud-cluster"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/spring-attic/spring-cloud-cluster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-attic%2Fspring-cloud-cluster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-attic%2Fspring-cloud-cluster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-attic%2Fspring-cloud-cluster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-attic%2Fspring-cloud-cluster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spring-attic","download_url":"https://codeload.github.com/spring-attic/spring-cloud-cluster/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spring-attic%2Fspring-cloud-cluster/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32310804,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T19:15:34.056Z","status":"ssl_error","status_checked_at":"2026-04-26T19:15:15.467Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-04-11T01:00:36.060Z","updated_at":"2026-04-26T20:00:44.302Z","avatar_url":"https://github.com/spring-attic.png","language":"Java","funding_links":[],"categories":["分布式开发"],"sub_categories":["Spring Cloud框架"],"readme":"// Do not edit this file (e.g. go instead to src/main/asciidoc)\n\n# spring-cloud-cluster is no longer actively maintained by VMware, Inc.\n\n\n\nThis project is now superseded by code in Spring Integration. All the interfaces\nhere have counterparts in the main Spring libraries, and the implementations are\nmostly parallel too (etcd is an exception because of the lack of support for\nv3 in third party libraries). The 1.0.1 release deprecates everything in favour\nof Spring Integration.\n\nN.B. For Hazelcast the support is in\nhttps://github.com/spring-projects/spring-integration-extensions/tree/master/spring-integration-hazelcast[an\nextension project].\n\nSpring Cloud Cluster offers a set of primitives for building \"cluster\"\nfeatures into a distributed system. Example are leadership election,\nconsistent storage of cluster state, global locks and one-time tokens.\n\n== Building\n\n:jdkversion: 1.7\n\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\nFor hints on how to build the project look in `.travis.yml` if there\nis one. There should be a \"script\" and maybe \"install\" command. Also\nlook at the \"services\" section to see if any services need to be\nrunning locally (e.g. mongo or rabbit).  Ignore the git-related bits\nthat you might find in \"before_install\" since they're related to setting git\ncredentials and you already have those.\n\nThe projects that require middleware generally include a\n`docker-compose.yml`, so consider using\nhttp://compose.docker.io/[Docker Compose] to run the middeware servers\nin Docker containers. See the README in the\nhttps://github.com/spring-cloud-samples/scripts[scripts demo\nrepository] for specific instructions about the common cases of mongo,\nrabbit and redis.\n\nNOTE: If all else fails, build with the command from `.travis.yml` (usually\n`./mvnw install`).\n\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 from\n`src/main/asciidoc`. As part of that process it will look for a\n`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\nIf you don't have an IDE preference we would recommend that you use\nhttp://www.springsource.com/developer/sts[Spring Tools Suite] or\nhttp://eclipse.org[Eclipse] when working with the code. We use the\nhttp://eclipse.org/m2e/[m2eclipe] 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==== Importing into eclipse with m2eclipse\nWe recommend the http://eclipse.org/m2e/[m2eclipe] 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\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\n== Contributing\n\nSpring Cloud is released under the non-restrictive Apache 2.0 license,\nand follows a very standard Github development process, using Github\ntracker for issues and merging pull requests into master. If you want\nto contribute even something trivial please do not hesitate, but\nfollow the guidelines below.\n\n=== Sign the Contributor License Agreement\nBefore we accept a non-trivial patch or pull request we will need you to sign the\nhttps://cla.pivotal.io/sign/spring[Contributor License Agreement].\nSigning the contributor's agreement does not grant anyone commit rights to the main\nrepository, but it does mean that we can accept your contributions, and you will get an\nauthor credit if we do.  Active contributors might be asked to join the core team, and\ngiven the ability to merge pull requests.\n\n=== Code of Conduct\nThis project adheres to the Contributor Covenant https://github.com/spring-cloud/spring-cloud-build/blob/master/docs/src/main/asciidoc/code-of-conduct.adoc[code of\nconduct]. By participating, you  are expected to uphold this code. Please report\nunacceptable behavior to spring-code-of-conduct@pivotal.io.\n\n=== Code Conventions and Housekeeping\nNone of these is essential for a pull request, but they will all help.  They can also be\nadded after the original pull request but before a merge.\n\n* Use the Spring Framework code format conventions. If you use Eclipse\n  you can import formatter settings using the\n  `eclipse-code-formatter.xml` file from the\n  https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/master/spring-cloud-dependencies-parent/eclipse-code-formatter.xml[Spring\n  Cloud Build] project. If using IntelliJ, you can use the\n  http://plugins.jetbrains.com/plugin/6546[Eclipse Code Formatter\n  Plugin] to import the same file.\n* Make sure all new `.java` files to have a simple Javadoc class comment with at least an\n  `@author` tag identifying you, and preferably at least a paragraph on what the class is\n  for.\n* Add the ASF license header comment to all new `.java` files (copy from existing files\n  in the project)\n* Add yourself as an `@author` to the .java files that you modify substantially (more\n  than cosmetic changes).\n* Add some Javadocs and, if you change the namespace, some XSD doc elements.\n* A few unit tests would help a lot as well -- someone has to do it.\n* If no-one else is using your branch, please rebase it against the current master (or\n  other target branch in the main project).\n* When writing a commit message please follow http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html[these conventions],\n  if you are fixing an existing issue please add `Fixes gh-XXXX` at the end of the commit\n  message (where XXXX is the issue number).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspring-attic%2Fspring-cloud-cluster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspring-attic%2Fspring-cloud-cluster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspring-attic%2Fspring-cloud-cluster/lists"}