Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion extensions/notification/NotificationConfigValidator.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ const destinationSchema = joi.object({
otherwise: joi.string().default('none'),
}),
// number of record keys the destination is spread over: raise it to let
// more than one delivery worker handle the destination in parallel
// more than one delivery worker handle the destination in parallel;
// keys collide under the broker's crc32(key) % partitions, so m keys
// reach at most m partitions and usually fewer: size well above the
// parallelism wanted and verify against the observed partition map
spreadFactor: joi.number().integer().min(1).default(1),
});

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"cover": "cross-env TEST_SUITE=${TEST_SUITE:-test} nyc --clean --silent yarn run $TEST_SUITE && nyc report --reporter=lcov --report-dir ./coverage/$TEST_SUITE",
"ft_test": "mocha --recursive $(find tests/functional -name '*.js') --timeout 30000 --exit",
"ft_test:notification": "mocha --recursive $(find tests/functional/notification -name '*.js') --timeout 30000 --exit",
"ft_test:notification:deliverypool": "mocha tests/functional/deliverypool/deliveryPool.js --timeout 120000 --exit",
"ft_test:replication": "mocha --recursive $(find tests/functional/replication -name '*.js') --timeout 30000 --exit",
"ft_test:lib": "mocha --recursive $(find tests/functional/lib -name '*.js') --timeout 30000 --exit",
"ft_test:lifecycle": "mocha --recursive $(find tests/functional/lifecycle -name '*.js') --timeout 30000 --exit",
Expand Down
Loading
Loading