Skip to content

Commit

Permalink
Add support to namespace within micro services (#24581)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampaiodiego authored Feb 23, 2022
1 parent ee292dd commit 8242369
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ee/server/startup/broker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { isMeteorError, MeteorError } from '../../../server/sdk/errors';
import { NetworkBroker } from '../NetworkBroker';

const {
MS_NAMESPACE = '',
TRANSPORTER = '',
CACHE = 'Memory',
// SERIALIZER = 'MsgPack',
Expand Down Expand Up @@ -71,6 +72,7 @@ class EJSONSerializer extends Base {
}

const network = new ServiceBroker({
namespace: MS_NAMESPACE,
skipProcessEventRegistration: SKIP_PROCESS_EVENT_REGISTRATION === 'true',
transporter: TRANSPORTER,
metrics: {
Expand Down

0 comments on commit 8242369

Please sign in to comment.