GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - leiquanpan/Real-Time-Stock-Data-Messaging-System

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
Flink
Flink
 
 
NSQ PUB:SUB
NSQ PUB:SUB
 
 
NSQ latency measure
NSQ latency measure
 
 
flink-connector-nsq
flink-connector-nsq
 
 
.DS_Store
.DS_Store
 
 
Play with FLINK.docx
Play with FLINK.docx
 
 
README.md
README.md
 
 
Real-Time Stock Information .pptx
Real-Time Stock Information .pptx
 
 
realtime-stockdata-messaging.pdf
realtime-stockdata-messaging.pdf
 
 

Repository files navigation

Install: wget http://mirror.cogentco.com/pubcd/apache/flink/flink-1.3.2/flink-1.3.2-bin-hadoop27-scala_2.10.tgz sudo apt install golang-go y mkdir go (edit the $HOME/.profile, and add the line GOPATH=’/home/ubuntu/go’, then ‘source’ it) go get github.com/nsqio/nsq/...

Flink Running 1.put quickstart-0.1.jar into flink-1.3.2/ examples/batch/ 2. put pubmess.go into /home/hadoop/ 3.put your source file into the HDFS, you can create a file named data_flink, and store the source file into /data_flink/ 4.config the hadoop path and GOPATH export HADOOP_CONF_DIR=/etc/hadoop/conf export GOPATH=/home/ubuntu/go 5. Run Flink job cd /home/hadoop/flink-1.3.2/ ./bin/flink run -m yarn-cluster -yn 2 -c org.myorg.quickstart.Application examples/batch/quickstart-0.1.jar 

NSQ and PTPD:

(Running in our case) 1.Running Lookupd sudo docker run -d --name nsqdc -p 4152:4152 -p 4153:4153 nsqio/nsq /nsqd --broadcast-address=18.221.119.174 --lookupd-tcp-address=18.221.119.174:4160 --http-address=0.0.0.0:4153 --tcp-address=0.0.0.0:4152 2. Running NSQD deamon sudo docker run -d --name lookupd -p 4160:4160 -p 4161:4161 nsqio/nsq /nsqlookupd 3. Running PTPD sudo apt install ptpd

sudo ptpd -i eth0 -M -u 172.31.32.60

4.Running subscriber go run submess.go “rise_stock” go run submess.go “down_stock”

Real-Time-Stock-Data-Mesaaging-System

About

No description or website provided.

Topics

golangjava-

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.