// Client code
var ZongJi = require('./');

var zongji = ZongJi.connect({
  host     : 'localhost',
  user     : 'zongji',
  password : 'zongji',
  // debug: true
});

zongji.on('binlog', function(evt) {
  evt.dump();
});

zongji.start();

process.on('SIGINT', function() {
  console.log('Got SIGINT.');
  process.exit();
});

@@ -229,16 +229,83 @@
 i.start(
+%7B%0A  filter: %5B'tablemap', 'writerows', 'updaterows', 'deleterows'%5D%0A%7D
 );%0A%0Aproc

Update example, to filter specific events