5.1.201902201406 • Published 5 years ago

@feidao-factory/service v5.1.201902201406

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

Node.js Service

1. feidao.json

{
	"mqtt": "mqtt://192.168.40.196:1883",
	"REDIS": {
		"URL": "redis://172.16.12.2:6379",
		"EXPIRATION": 3600
	},
	"spaceid": "webtest",
	"KAFKA1": {
		"URI": "kafka://192.168.40.195:9092",
		"TOPIC": "feidao-soa-log-nodejs-server"
	},
	"RABBITMQ": "amqp://guest:guest@172.16.12.2:5672?heartbeat=5",
	"PREFETCH_COUNT": 4,
	"TIMEOUT": 5000,
	"EXPIRATION": 15000,
	"ZK_HOSTS": "172.16.12.2:2181",
	"ZK_OPTIONS": {
		"sessionTimeout": 30000,
		"spinDelay": 1000,
		"retries": 0
	},
	"SOA_ID": "soa_205_d161c9d7-85d6-4fe1-bd62-b6447fd52062"
}

2. log4js.json

日志配置,具体请参考官方说明:log4js