Skip to content

Mahes2/stream-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stream-server

⚡️ Prerequisite

⚙️ Build

Execute query script/test.sql to create table and populate data

Build protobuf file used by go server:

make pb-go

Build proto jar file used by java client:

make pb-java

🤖 Run

To run grpc server A and B:

go run cmd/main.go grpc 9998
go run cmd/main.go grpc 9997

To run http server A and B:

go run cmd/main.go http 9998
go run cmd/main.go http 9997

🎯 Test

See stream-client for testing step