jn-smb-ch7-logging's Introduction
1. Build all project from the root (chapter7) ------------------------------------------------ mvn -Dmaven.test.skip=true clean install A. For Running Logging example. ------------------------------------------------ 1. Install Elasticsearch, Kibana and Logstash 2. Run Elasticsearch , Kibana and Logstash ./bin/logstash -f logstash.conf ./bin/elasticsearch ./bin/kibana 3. Run Rabbit MQ ./rabbitmq-server 4. Run Congig Server, Eureaka and Search Service, Search API Gateway, from the respective folders. java -jar target/config-server-1.0.jar java -jar target/eureka-server-1.0.jar java -jar target/chapter7.search-1.0.jar java -jar target/chapter7.search-apigateway-1.0.jar java -jar target/website-1.0.jar 5. Open Browser window http://localhost:8095/hubongw http://localhost:8001 B. For Running Hystrix Example ----------------------------------------------- 1. Follow steps above upto #5. 2. Run Hystrix dashboard java -jar target/hystrixdashboard-0.0.1-SNAPSHOT.jar 3. Open Hystrix Dashboard http://localhost:9999/hystrix.stream point to http://localhost:8095/hystrix.stream Note: fire some transactions on the link below to get the dashboard display http://localhost:8095/hubongw C. For Running Turbine Example -------------------------------------------------- 1. Follow steps defined in the seciton A, upto #5. 2. Update /etc/hosts and add localdomain1 and localdomain2 mapto localhost 3. Stop serch, search api gateway, website and hystrix dashboard services 4. Run services java -jar -Dserver.port=8096 -Deureka.instance.hostname=localdomain2 -Dserver.address=localdomain2 target/chapter7.search-apigateway-1.0.jar java -jar -Dserver.port=8095 -Deureka.instance.hostname=localdomain1 -Dserver.address=localdomain1 target/chapter7.search-apigateway-1.0.jar java -jar -Dserver.port=8090 -Deureka.instance.hostname=localdomain1 -Dserver.address=localdomain1 target/chapter7.search-1.0.jar java -jar target/website-1.0.jar 5. Run Turbine dashboard java -jar target/turbineserver-1.0.jar 6. Open Turbine Dashboard http://localhost:9090/turbine.stream point to http://localhost:8090/turbine.stream Note: fire some transactions on the link below to get the dashboard display http://localhost:8095/hubongw http://localhost:8095/hubongw http://localhost:8001/
jn-smb-ch7-logging's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.