NK
/**
* Return list of features supported by this transport
*/
static getFeatures() {
return [
// 'local', // distributed calls between service instances
// 'rpc', // remote procedure calls: http://microservices.io/patterns/communication-style/rpi.html
// 'events', // event-driven interaction: http://microservices.io/patterns/data/event-sourcing.html
// 'versioning', // ability to upgrade protocol without redeploying old services
// 'loadbalancing', // switch between service instances to avoid high load
// 'service-discovery', // automaticly discover other network services: http://microservices.io/patterns/server-side-discovery.html
// 'client-discovery', // manually create routing map between services
// 'circuit-breaker', // stop processing new messages on overload: http://microservices.io/patterns/reliability/circuit-breaker.html
// 'failure-tolerance', // do not lose failed messages (rety again, push into faillog, etc)
// 'timeouts', // stop processing after predefined timeout
// 'slow-warn' // emit "slow" event
]
}
(это чисто для транспорта - я не говорю про сами сервисы: хелсчеки, алерты, снятие метрик, трейсинг запросов, единое хранилище логов и тп)
короче, ты понял наверное что тут ковырять и ковырять еще :)