Stocks Demo app
- install Apache Kafka, Zookeeper, Zipkin, Couchbase if not already installed
- create dir: D:/stockData/arch/ and D:/stockData/unprocessed/ (you can change the directory from Application.properties of application stock-uploader-service)
- Create bucket 'Stock' in Couchbase
- Start Zookeeper and Kafka on default ports(or change ports in application.properties in uploader and login app)
- Start zipkin(if want to trace request withing applications)
- import login-mvc, Stock-reactive-service, stock-uploader-service into eclipse as maven project
- run applications (start login-service at last as it is dependent on other services)
- open url http://localhost:8099/ and click on 'Go to registration page' to create user
- Place inputfile in dir D:/stockData/live/
- login with singed up user
This is a sample app for stock view and purchase demo real time.
Technologies:
- Java8
- Spring Boot
- Spring Webflux
- Sping MVC
- Spring Schedular
- Apache Kafka
- Java Script (UI)
- Ajax (UI)
- thymeleaf (UI)
- Reactive Couchbase DB(Database)
- WatchService