Giter VIP home page Giter VIP logo

config's Introduction

Hot Reloading Spring Application Configuration

This repository demonstrates how to hot reload configuration for a Spring application using Kubernetes and AWS. The examples are split into two branches, each showcasing a different approach.

Video Overview

For a visual walkthrough, watch the file walkthrough.mp4 stored in this repository.

Approaches

1. Spring Cloud Kubernetes Configuration Watcher

Branch: watcher

This approach utilizes the Spring Cloud Kubernetes Configuration Watcher to dynamically reload configuration changes. This requires specific Kubernetes permissions to function correctly.

2. AWS Parameter Store

Branch: parameter-store

This approach uses AWS Parameter Store to manage and reload configuration properties. You will need to set up IAM credentials, either through environment variables or an IAM role.

  • IAM Credentials: Set up IAM credentials using environment variables or an IAM role.
  • Documentation: For more information, refer to the AWS Spring Cloud documentation.

Getting Started

To get started with either approach, switch to the respective branch.

# For Kubernetes Configuration Watcher
git checkout watcher

# For AWS Parameter Store
git checkout parameter-store

config's People

Contributors

phu-ng avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.