Giter Club home page Giter Club logo

badjs-storage's Introduction

#badjs-storage

save log into mongodb , and provide some of api for query

#启动参数 --debug log 采用debug 级别, 默认使用info

--project 使用测试环境( project.debug.json )配置 , 默认使用 project.json

#配置说明

{
    "mongodb" : { // mongodb 地址 
        "url" : "mongodb://localhost:27017/badjs",  
        "adminUrl" : "mongodb://localhost:27017/admin",  // 如果使用集群,需要超级管理员权限进行配置
        "isShard" : false      // 是否使用集群
    },
    "acceptor": {     //配置接入数据的地址, 这里使用 badjs-mq 的地址
      "port" : 10000,
      "address" : "127.0.0.1",
      "subscribe": "badjs",     // 与badjs-acceptor subscribe 对应
      "module": "./acceptor/zmq"    //使用什么模块接入
    },
    "maxAge" : 5   // 数据保留的天数
}

badjs-storage's People

Contributors

caihuiji avatar loskael avatar miniflycn avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.