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 Video Library
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
View Events Video Library
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
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

Migrate, Modernize and Build Java Web Apps on Azure: This live workshop will cover methods to enhance Java application development workflow.

Modern Digital Website Security: Prepare to face any form of malicious web activity and enable your sites to optimally serve your customers.

E-Commerce Development Essentials: Considering starting or working on an e-commerce business? Learn how to create a backend that scales.

Avatar

Erik Lupander

[Deactivated] [Suspended]

Senior Consultant at Callista Enterprise AB

Gothenburg, SE

Joined Feb 2018

http://callistaenterprise.se/blogg/

About

twitter: @Lupander

Stats

Reputation: 508
Pageviews: 377.4K
Articles: 8
Comments: 2
  • Articles
  • Comments

Articles

article thumbnail
Go Microservices, Part 15: Monitoring With Prometheus
Learn how to monitor your microservices applications with Prometheus and graphing the data with Grafana.
September 21, 2018
· 47,013 Views · 7 Likes
article thumbnail
Go Microservices, Part 12: Distributed Tracing With Zipkin
Learn about two new supporting components, the Zuul EDGE server and Zipkin, as part of our Go microservices in this tutorial.
March 20, 2018
· 32,153 Views · 5 Likes
article thumbnail
Go Microservices, Part 11: Hystrix and Resilience
Learn how to set up more resilient inter-service communication for your microservices written with Go using the Hystrix circuit breaker.
March 18, 2018
· 25,950 Views · 9 Likes
article thumbnail
Go Microservices, Part 10: Centralized Logging
Let's continue with our microservices project by learning about a logging strategy based on the Logrus logging driver and Loggly.
March 17, 2018
· 18,003 Views · 6 Likes
article thumbnail
Go Microservices, Part 8: Centralized Configuration With Viper and Spring Cloud Config
Learn how to centralize essential aspects of your microservices project, such as logs, with Spring Cloud Config.
March 15, 2018
· 16,533 Views · 6 Likes
article thumbnail
Go Microservices, Part 7: Service Discovery and Load Balancing
Continue on your microservice development journey by learning how to set up service discovery and load balancing in your new service.
March 14, 2018
· 24,331 Views · 9 Likes
article thumbnail
Go Microservices, Part 4: Testing and Mocking With GoConvey
This series on building microservices with Go continues by looking at challenges and strategies for unit testing with GoConvey.
March 1, 2018
· 11,112 Views · 9 Likes
article thumbnail
Go Microservices, Part 1: Building Microservices With Go
In this series, learn to build microservices using Go and add integrations to help them run on Docker Swarm within a Spring Cloud/Netflix OSS landscape.
February 26, 2018
· 65,529 Views · 40 Likes

Comments

Go Microservices, Part 8: Centralized Configuration With Viper and Spring Cloud Config

Mar 15, 2018 · Arran Glen

Hi Robert, thank you for your comment.

Just so I understand your criticism - do you dislike the concept of a centralized configuration server in general, or is it the functionality that enables on-the-fly reloading of configuration you're opposed to?

Regarding the latter - I can certainly agree with you for the reasons you stated. Perhaps the Spring people had more traditional deployments in mind when they added the @RefreshScope and "push" mechanisms to Spring Boot / Spring Cloud config server.

On the topic of using centralized configuration as described in this post, loading the configuration from a given git repository/branch/tag through the Spring Cloud config server provides something very similar to deploy-time injection from a versioned source.

I'm also doing quite some work on OpenShift these days where configuration is handled quite differently, with "config maps" and "secrets" being injected as file system resources as specified in deployment configurations. At some point I'll probably port the Go microservice landscape into OpenShift or K8S which will probably make the config server superfluous and change how Viper loads config into the Go runtime.

Go Microservices, Part 6: Health Checks

Mar 13, 2018 · Arran Glen

Hi @Satish. To be honest, I'm not sure. I've been using OpenShift quite extensively lately and there you can configure liveness and health probes on their "deployment configuration" level that does _not_ rely on having curl or a custom (as in this blog post) executables linking Docker HEALTHCHECK mechanics to the running service.

It's possible Docker in Swarm mode has received more functionality regarding this since I wrote the original blog post, but that's an unknown for me at this moment.

User has been successfully modified

Failed to modify user

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

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

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: