마지막으로 새 프롬프트에서 구매 관리 마이크로서비스를 실행합니다.
> node microservice_purchases.js
listen { address: '::', family: 'IPv6', port: 9030 }
Distributor Notification { uri: '/distributes',
method: 'GET',
key: 0,
params:
[ { port: 8000, name: 'gate', urls: [], host: '::ffff:127.0.0.1' },
{ port: 9010,
name: 'goods',
urls: [Object],
host: '::ffff:127.0.0.1' },
{ port: 9020,
name: 'members',
urls: [Object],
host: '::ffff:127.0.0.1' } ] }
Distributor Notification { uri: '/distributes',
method: 'GET',
key: 0,
params:
[ { port: 8000, name: 'gate', urls: [], host: '::ffff:127.0.0.1' },
{ port: 9010,
name: 'goods',
urls: [Object],
host: '::ffff:127.0.0.1' },
{ port: 9020,
name: 'members',
urls: [Object],
host: '::ffff:127.0.0.1' },
{ port: 9030,
name: 'purchases',
urls: [Object],
host: '::ffff:127.0.0.1' } ] }