{"id":24539586,"url":"https://github.com/raonigabriel/spring-boot-embedded-zookeeper","last_synced_at":"2025-04-15T06:24:53.918Z","repository":{"id":38298446,"uuid":"265685426","full_name":"raonigabriel/spring-boot-embedded-zookeeper","owner":"raonigabriel","description":"A small utility library that easily enables an embedded ZooKeeper server on SpringBoot apps.","archived":false,"fork":false,"pushed_at":"2023-03-14T19:57:19.000Z","size":68,"stargazers_count":4,"open_issues_count":7,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T17:02:08.276Z","etag":null,"topics":["embedded","enablement","spring","spring-boot","zookeeper"],"latest_commit_sha":null,"homepage":null,"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/raonigabriel.png","metadata":{"files":{"readme":"README.md","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":"2020-05-20T21:02:47.000Z","updated_at":"2024-11-15T01:52:51.000Z","dependencies_parsed_at":"2023-02-16T10:46:23.923Z","dependency_job_id":null,"html_url":"https://github.com/raonigabriel/spring-boot-embedded-zookeeper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raonigabriel%2Fspring-boot-embedded-zookeeper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raonigabriel%2Fspring-boot-embedded-zookeeper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raonigabriel%2Fspring-boot-embedded-zookeeper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raonigabriel%2Fspring-boot-embedded-zookeeper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raonigabriel","download_url":"https://codeload.github.com/raonigabriel/spring-boot-embedded-zookeeper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249018100,"owners_count":21199098,"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":["embedded","enablement","spring","spring-boot","zookeeper"],"created_at":"2025-01-22T17:14:53.985Z","updated_at":"2025-04-15T06:24:53.880Z","avatar_url":"https://github.com/raonigabriel.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://github.com/raonigabriel/spring-boot-embedded-zookeeper/workflows/Maven%20Build/badge.svg?branch=master)](https://github.com/raonigabriel/spring-boot-embedded-zookeeper/actions)\n[![Codecov](https://codecov.io/gh/raonigabriel/spring-boot-embedded-zookeeper/branch/master/graph/badge.svg)](https://codecov.io/gh/raonigabriel/spring-boot-embedded-zookeeper)\n[![Libraries](https://img.shields.io/librariesio/github/raonigabriel/spring-boot-embedded-zookeeper)](https://libraries.io/github/raonigabriel/spring-boot-embedded-zookeeper)\n[![Maven Central](https://img.shields.io/maven-central/v/io.github.raonigabriel/spring-boot-embedded-zookeeper)](https://search.maven.org/artifact/io.github.raonigabriel/spring-boot-embedded-zookeeper)\n\nSpring Boot Embedded Zookeeper\n-------------------\nA small utility library that easily enables an embedded ZooKeeper server on SpringBoot apps.\n\n### This library is published to Maven Central, hence:\nAdd the following dependency to your pom.xml:\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.github.raonigabriel\u003c/groupId\u003e\n    \u003cartifactId\u003espring-boot-embedded-zookeeper\u003c/artifactId\u003e\n    \u003cversion\u003e2.0.7\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n## Usage\nJust add **@EnableEmbeddedZooKeeper** to any **@Configuration** or **@SpringBootApplication** class as follows:\n```java\npackage com.myco.myapp;\n\n@EnableEmbeddedZooKeeper\n@SpringBootApplication\npublic class MyApp {\n\n    public static void main(String[] args) {\n        SpringApplication.run(MyApp.class, args);\n    }\n} \n\n```\nThen you can inject the ZooKeeperServer bean on any Spring component, as following:\n```java\npackage com.myco.myapp;\n\n@Component\npublic class MyComponent {\n\n\t@Autowired\n\tZooKeeperServer zookeeperServer;\n\t\n\tpublic void doSomething() {\n\t\t// Use the injected zookeeperServer\n\t}\n\n}\n```\nTo get the code:\n-------------------\nClone the repository:\n```\n$ git clone https://github.com/raonigabriel/spring-boot-embedded-zookeeper.git\n```\nIf this is your first time using Github, review http://help.github.com to learn the basics.\n\n## License\n\nReleased under the [Apache 2.0 license](http://www.apache.org/licenses/LICENSE-2.0.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraonigabriel%2Fspring-boot-embedded-zookeeper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraonigabriel%2Fspring-boot-embedded-zookeeper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraonigabriel%2Fspring-boot-embedded-zookeeper/lists"}