Skip to content

goliva/rediscope-meetup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Playframework 2.2.6

Redis 3.0.6 port 6379

To stream go to:

http://www.websocket.org/echo.html

Host to: ws://localhost:9000/stream/hello

Client to ws://localhost:9000/broadcast/hello

Enjoy!

#REPLICATION

Start replication: curl -H "Content-Type: application/json" -X POST -d '{"sourceHost":"ip", "sourcePort":port, "destinyHost":"ip", "destinyPort":port}' http://localhost:9000/replicate/start/:topic

Example: curl -H "Content-Type: application/json" -X POST -d '{"sourceHost":"localhost", "sourcePort":6379, "destinyHost":"localhost", "destinyPort":6378}' http://localhost:9000/replicate/start/golza

Stop replication: curl http://localhost:9000/replicate/kill/:topic

Excample: curl http://localhost:9000/replicate/kill/golza

Play 2.2.6

Rgds.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published