Skip to content

Automattic/mydb-tail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mydb-tail

Tails the oplog and emits operations. Formerly mydb-slave.

How to use

require('tail')({
  mongo: 'localhost:27017/local',
  redis: 'localhost:6379',
  ns: 'cloudup-development.*'
});

API

tailer(opts)

Options are:

  • mongo mongo uri or instance pointing to the local database to tail
  • redis redis uri or instance
  • ns optionally, namespace to filter by (eg: cloudup.*)
  • query query to tail from

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published