Skip to content

Implementation of nsq handling redis data update

Notifications You must be signed in to change notification settings

Rocksus/read-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

read-redis

Implementation of nsq handling redis data update

Setting Up

To run, clone this project and change the volumes and working_dir of every services in docker-compose.yml After that, run

docker-compose up

You can add -d to run docker in the background.

Environment Variables

Currently we need the following in an .env file:

redisConn=redis:6379

dbHost=db
dbPort=5432
dbUser=postgres
dbPass=password
dbName=postgres

messageChannel=message_channel
messageTopic=message_topic
nsqdAddr=nsqd:4150
lookupAddr=nsqlookupd:4161

There is definitely a better way to do it. Feel free to create a PR on improving it!

About

Implementation of nsq handling redis data update

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published