Skip to content

cdelorenzo/ao-client-pubnub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ao-client-pubnub

PubNub MQTT Client Subscriber

Dependencies

  • Requests git
  sudo yum install git
  • Requires Node.js to run if installing
curl --silent --location https://rpm.nodesource.com/setup_6.x | sudo bash -
sudo yum install -y nodejs
  • Rename config-default.json to config.json
  • update the keys prior to running
  • update the number of connections and ramp time in seconds
{
  "subscribeKey":"sub-c-xxxxxxxxxxxxxxxxxxxxx",
  "connections":"5",
  "ramp":"5"
}

setup

    git clone https://github.com/cdelorenzo/ao-client-pubnub.git
    cd ao-client-pubnub
    npm install

Execution

    node subscribe.js

or use the run

    # If you want to execute 4 instances you can use the run helper
    ./run.sh 4

About

PubNub MQTT Client Subscribe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •