archus-atlas
v1.2.5
Published
archus atlas
Downloads
201
Readme
archus-atlas
archus common toolset
QuickStart
// npm
npm i archus-atlas
// yarn
yarn add archus-atlas
.env
You need to create a .env file in the root directory with the following content
ZK_URL=localhost:2181
// If you need to register the service
ZK_REGISTER_PATH="/archus/microservices" //Service Registration Directory
ZK_REGISTER_SERVICE_NAME="test-service" // Service Name
init
import { ZKUtil } from "../core/ZKUtil";
await ZKUtil.init();
// If you need to register the service
ZKUtil.register();