docs: function() {
        var delay = Math.random() * 20000;
        var sendTopic = allTopics[Math.floor(Math.random() * allTopics.length)];
        var sendCallback = function(err, msg) {
          if (err) {
            console.error('Problem with send request: ' + err.toString());
            process.exit(0);
          } else {
            if (messageCount === 0) {
              console.log('Sending messages');
            }
            ++messageCount;
            if (messageCount % 10 === 0) {
              console.log('Sent ' + messageCount + ' messages');
            }
          }
        };
  
        setTimeout(function() {
          var start = Math.floor(Math.random() * (loremIpsumWords.length - 15));
          var end = start + 5 + Math.floor(Math.random() * 10);
          var message =
              loremIpsum.substring(loremIpsumWords[start], loremIpsumWords[end]);
          client.send(sendTopic, message, sendCallback);
          sendMessages();
        },delay);
      }