DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Securing Your Software Supply Chain with JFrog and Azure
Register Today

Trending

  • How To Use Geo-Partitioning to Comply With Data Regulations and Deliver Low Latency Globally
  • Manifold vs. Lombok: Enhancing Java With Property Support
  • Hiding Data in Cassandra
  • Docker Compose vs. Kubernetes: The Top 4 Main Differences

Trending

  • How To Use Geo-Partitioning to Comply With Data Regulations and Deliver Low Latency Globally
  • Manifold vs. Lombok: Enhancing Java With Property Support
  • Hiding Data in Cassandra
  • Docker Compose vs. Kubernetes: The Top 4 Main Differences
  1. DZone
  2. Coding
  3. Frameworks
  4. SpringOne2GX 2014 Replay: Centralized Application Configuration with Spring and Apache ZooKeeper

SpringOne2GX 2014 Replay: Centralized Application Configuration with Spring and Apache ZooKeeper

Pieter Humphrey user avatar by
Pieter Humphrey
CORE ·
May. 01, 15 · Interview
Like (0)
Save
Tweet
Share
2.54K Views

Join the DZone community and get the full member experience.

Join For Free

Recorded at SpringOne2GX 2014.

Speaker: Ryan Gardner, Dealer.com

Core Spring Track

Slides: http://www.slideshare.net/SpringCentral/zookeeper-config2014-2c-41123708

Application configuration is an evolution. It starts as a hard-coded strings in your application and hopefully progresses to something external, such as a file or system property that can be changed without deployment. But what happens when other enterprise concerns enter the mix, such as audit requirements or access control around who can make changes? How do you maintain the consistency of values across too many application servers to manage at one time from a terminal window? The next step in the application configuration evolution is centralized configuration that can be accessed by your applications as they move through your various environments on their way to production. Such a service transfers the ownership of configuration from the last developer who touched the code to a well-versed application owner who is responsible for the configuration of the application across all environments. At Dealer.com, we have created one such solution that relies on Apache ZooKeeper to handle the storage and coordination of the configuration data and Spring to handle to the retrieval, creation and registration of configured objects in each application. The end result is a transparent framework that provides the same configured objects that could have been created using a Spring configuration, configuration file and property value wiring. This talk will cover both the why and how of our solution, with a focus on how we leveraged the powerful attributes of both Apache ZooKeeper and Spring to rid our application of local configuration files and provide a consistent mechanism for application configuration in our enterprise.

application Apache ZooKeeper Spring Framework

Published at DZone with permission of Pieter Humphrey, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Trending

  • How To Use Geo-Partitioning to Comply With Data Regulations and Deliver Low Latency Globally
  • Manifold vs. Lombok: Enhancing Java With Property Support
  • Hiding Data in Cassandra
  • Docker Compose vs. Kubernetes: The Top 4 Main Differences

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: