Zum Hauptinhalt springen
Intelligence View
⚡ tsecurity.de Intelligence

shared configuration in microservices

Spring Boot with Spring Cloud Config Server, shared configuration is achieved by placing common properties in a central repository (like Git, Vault, CredHub,…

Beitrag
0
Seite
0
↗ Quelle (dev.to)
Quelle & Fakten · 2 Min. Lesezeit
Quelle: dev.to
Rubrik: Sichere Programmierung

Spring Boot with Spring Cloud Config Server, shared configuration is achieved by placing common properties in a central repository (like Git, Vault, CredHub, or JDBC) under the application.* scope so that all client applications can inherit them. Application-specific files then override these shared defaults.



let me explain the scenario, assume few applications are running under config server, each application has it's own config(.properties) file placed in config server, expected retrieve it on demand while spring boot initializes , like this property files contains n number of common properties for Ex.. database config, kafka config, logging ....this is exactly moment, where we can customize the configuration data, place them(common properties) in specific file(.properties) under the same config server, if we can make it available to all other components/applications, it can make easier to manage them further change/updates.



Key Concepts of Shared Configuration




  1. File-Based Repositories (Git, SVN, Native)
    Shared files: application.properties, application.yml, application-*.properties



These files apply to all client applications under config server. this files should be placed under ROOT folder of config repository



Overrides: Each service can have its own {app-name}.properties to override shared defaults.no other setup is required.



Drawback: Every component/application will get access of properties from above files, it is impossible to restrict them in case not required/no use



Best practice: Keep global defaults in application.yml and override them in service-specific files.

Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:
✏️ Information ergänzen
🛡️ Versioniert via CMS-Revisions-Engine (Freigabe-Queue für Gäste)

💬 Communitydiscussie & reacties

🌐 Naar de hoofdchat

Start de discussie in de Social Chat broadcaststream of dien hierboven een vakbijdrage in via het aanvulformulier.

Security Briefing Gratis · 1-klik uitschrijven

Intelligence Digest gratis

Dagelijks het belangrijkste beveiligingsnieuws · kan op elk moment worden opgehaald

Community Rating & Social Proof
⭐ Lezersbeoordeling
–
Ø / 5.0
Nog geen recensies van lezers
Was dit artikel nuttig?
0
Geef uw beoordeling
Detailbeoordeling (optioneel)
Inhoud & Kwaliteit
Bron & Geloofwaardigheid
Actualiteit

Verwant Story Cluster & Sources (vector AI)

6 Cluster
24 Bronnen
Black Friday tech deals under $100 / £100: Fire TV Sticks, earbuds, coffee machines and more
Latest from TechRadar 20 min. geleden
23 andere bronnen
Caschys Blog1 uur geledenGoogle One: Black-Friday-Angebot mit bis zu 50 Prozent Rabatt netzwelt.de1 uur geledenDem Testsieger ebenbürtig: Zum Black Friday stürzt Xiaomis stärkster E-Scooter im Preis ab Macerkopf.de1 uur geledenFotos verbessern mit Aiarty: 52 % Rabatt + Gratisgeschenke zum Black Friday CNET11 dagen geledenGrab Our Top Gaming Chair Pick for up to $200 Off in Secretlab’s Black Friday Sale Latest from TechRadar47 min. geledenWalmart's Black Friday deals are live — shop our top picks now Latest from TechRadar47 min. geledenLive: Apple Black Friday deals — save on AirPods Pro 3, iPad 11-in, Apple Watch 12, AirTags & more WIRED52 min. geledenThe Best Early Black Friday MacBook Deals (2026) Latest from Windows Central52 min. geledenEssential Xbox Ally travel accessories drop their prices before Black Friday IT Security News49 min. geledenBeyond Black Friday: The Cyber Threats Retailers Need to Prepare for in 2026 Latest from TechRadar51 min. geledenBest Black Friday streaming deals from 99 cents: Apple TV, HBO Max, Paramount+, Peacock, and more CNET1 uur geledenThis Bissell Vacuum Tackles Tough Pet Hair and It’s Just $170 During the Black Friday Sales WIRED1 uur geledenGPS Dog Collar for Less: Our Top Tested Picks From Fi’s Black Friday Sale (2026) Latest from Windows Central1 uur geledenDell's excellent XPS laptops are up to 33% off in this early Black Friday sale WinFuture News1 uur geledenBlack Friday bei VZMore: Bis 600 Euro Rabatt auf Power-Mini-PCs Latest from TechRadar1 uur geledenThe best Black Friday turntable deals, as picked by an audio editor Latest from TechRadar1 uur geleden40+ best Black Friday deals in the UK — Switch 2, Shark vacuums, iPhone 18, Lego, PS5 bundles, Samsung, LG OLED TVs, and more CNET12 dagen geledenUpgrade Your Home Security for Less. Score Up to 65% Off With These Black Friday Ring Deals Giga.de2 uur geledenVor Black Friday zu viel bezahlt? Mit einem Trick könnt ihr doch noch sparen - Futurezone1 uur geledenStreaming-Sticks zur Black Week: Mit diesen Deals sparst du bis zu 46 % t3n.de1 uur geledenBlack Friday: Diese Samsung-Angebote bei Amazon und Media Markt lohnen sich netzwelt.de3 uur geledenBlack-Friday-Kracher: Huawei-Smartwatch mit EKG für unter 150 Euro Golem.de1 uur geledenAnzeige: Sony WH-1000XM6 Referenz-Kopfhörer am Black Friday zum Amazon-Bestpreis Macerkopf.de2 uur geledenAmazon Black Friday: Apple Pencil, WISO Steuer 2027, Microsoft 365, iPhone 18 Cases und mehr
Soortgelijke bijdragen
🔍 Verwandte News

Auch interessante Nachrichten shared configuration in microservices

Thematisch verwandte Begriffe: shared, configuration, microservices · 6 Treffer

Laden...

Bijdragen zijn geladen ...

Laden...

Video's zijn geladen...

Laden...

Bijdragen zijn geladen ...

Laden...

Video's zijn geladen...

Laden...

Bijdragen zijn geladen ...

Laden...

Video's zijn geladen...

💬 Reacties worden geladen…
Trek om te vernieuwen
Widgets & Topics
Loading widgets…
Nächster Beitrag