All Projects → wuyichen24 → spring-microservices-in-action

wuyichen24 / spring-microservices-in-action

Licence: Apache-2.0 license
The source code of the book "Spring Microservices in Action (John Carnell)" and the personal summary of technical essentials about Spring Boot for microservices.

Programming Languages

java
68154 projects - #9 most used programming language
TSQL
950 projects
shell
77523 projects

Projects that are alternatives of or similar to spring-microservices-in-action

spring-cloud-boilerplate
The discovery & gateway boilerplate based on spring-cloud with spring security.
Stars: ✭ 12 (-77.78%)
Mutual labels:  netflix-zuul, netflix-eureka, netflix-hystrix, netflix-ribbon, netflix-oss
Spring Cloud Netflix
Integration with Netflix OSS components
Stars: ✭ 4,498 (+8229.63%)
Mutual labels:  netflix-zuul, netflix-eureka, netflix-hystrix
cloud-native-pwas
Cloud Native Progressive Web Apps with Spring Boot and Angular
Stars: ✭ 31 (-42.59%)
Mutual labels:  netflix-zuul, netflix-eureka
series-ninja
Stream and Download your favourite TV series/Movies on Ubuntu/Linux & Windows Desktop
Stars: ✭ 23 (-57.41%)
Mutual labels:  netflix
semantic logger
Semantic Logger is a feature rich logging framework, and replacement for existing Ruby & Rails loggers.
Stars: ✭ 730 (+1251.85%)
Mutual labels:  splunk
netflix-react-native
Recreating app Netflix with React Native & styled components
Stars: ✭ 20 (-62.96%)
Mutual labels:  netflix
watch-any-movie
A Netflix Clone App built using React js , Material UI & OMDb API that allows searching of 1000+ movies and provides information about their plot, IMDB rating, MetaScore, Genre, and Year in which it is published, along with high-quality audio and video streaming.
Stars: ✭ 31 (-42.59%)
Mutual labels:  netflix
FillProgressLayout
A simple and flexible Fillable Progress Layout written in Kotlin
Stars: ✭ 77 (+42.59%)
Mutual labels:  netflix
maple
Type-safe, consistently named and formatted, structured logging wrapper for SLF4J that's ideally suited for your logging aggregator.
Stars: ✭ 39 (-27.78%)
Mutual labels:  splunk
terraform-splunk-log-export
Deploy Google Cloud log export to Splunk using Terraform
Stars: ✭ 26 (-51.85%)
Mutual labels:  splunk
splunk-hec-go
Splunk HTTP Event Collector (HEC) Golang library
Stars: ✭ 19 (-64.81%)
Mutual labels:  splunk
easysubs
Browser extension for learning languages with watching movies and TV shows
Stars: ✭ 156 (+188.89%)
Mutual labels:  netflix
Discord-Netflix
A updated and improved version from the original Discord-Netflix from Nirewen.
Stars: ✭ 26 (-51.85%)
Mutual labels:  netflix
SplunkScriplets
Various Splunk Scripts and applets, all in one place
Stars: ✭ 24 (-55.56%)
Mutual labels:  splunk
detection-rules
Threat Detection & Anomaly Detection rules for popular open-source components
Stars: ✭ 34 (-37.04%)
Mutual labels:  splunk
docker-chaos-monkey
A Chaos Monkey system for Docker Swarm
Stars: ✭ 30 (-44.44%)
Mutual labels:  netflix
twitter-aws-comprehend
An app to analyze tweets using Amazon Comprehend's Sentiment Analysis service
Stars: ✭ 13 (-75.93%)
Mutual labels:  splunk
Skeleton
Skeleton is a Social Engineering tool attack switcher
Stars: ✭ 44 (-18.52%)
Mutual labels:  netflix
vault-plugin-splunk
Vault plugin to securely manage Splunk admin accounts and password rotation
Stars: ✭ 23 (-57.41%)
Mutual labels:  splunk
shakti
Breakdown of Netflix's Shakti API
Stars: ✭ 74 (+37.04%)
Mutual labels:  netflix

spring-microservices-in-action

Build Status License

This repository contains the source code of the book "Spring Microservices in Action (John Carnell)" and the personal summary of technical essentials about Spring Boot for microservices.

Overview

This source code was re-organized by the original source code of the book and I make sure each module is runnable.

Structure

  • Servers
    • Config: Provide the configuration parameters for other services.
    • Eureka: Service discovery.
    • Zipkin: API gateway.
    • Zuul: Collect tracing data.
  • Services
    • Licensing: Manage (CRUD) license records.
    • Organization: Manage (CRUD) organization records.
    • Authentication: Issue and validate access tokens, manage clients' and users' credentials and roles.
    • Special Routes: Provide an alternate endpoint for a certain service.
  • Database: Store license and organization records, clients' and users' credentials, alternate routes of any service.
  • Message Queue (Kafka): Notify the licensing service about any organization record modification.
  • Cache (Redis): Cache any organization record which has been loaded before.
  • Log Server
    • Splunk: Collect log information in local.
    • Papertrail: Collect log information in cloud.

Technology Stack

Differences to The Original Source Code

  • Use Gradle as Java build automation tool rather than Maven.
  • Use MySQL as database rather than PostgreSQL.
  • Change the port of the organization service to 8060 to avoid the address conflict with the licensing service.
  • Change the port of the special routes service to 8040 to avoid the address conflict with the licensing service.
  • Change the port of the authentication service to 8901 to make it same with the example in the book.
  • Add the integration of Splunk for log aggregation locally (use both local Splunk and remote Papertrail).
  • Use the original functionality in Logback for sending the log to the log servers (Splunk & Papertrail) rather than the solution in the Book (use Logspout to direct the docker output to the log servers).
  • Replace the user_roles table by the authorities table for storing users' credentials to DB.
  • Change the column name from user_name to username for the user_orgs table and the users table.
  • Add comments to make the code easy to read.

Getting Started

Technical Essentials

Study Notes

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].