Skip to content

Commit e3db3a9

Browse files
author
Dushyant Bhalgami
committed
added topcoder-error-logger module
1 parent 9862a5e commit e3db3a9

File tree

3 files changed

+942
-926
lines changed

3 files changed

+942
-926
lines changed

config/default.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ module.exports = {
1919
// The client cert key, can be (1) the path to the cert key file, or (2) the cert key content
2020
KAFKA_CLIENT_CERT_KEY: process.env.KAFKA_CLIENT_CERT_KEY || './docker/kafka/kafka-ssl/client.key',
2121

22+
KAFKA_ERROR_TOPIC: process.env.KAFKA_ERROR_TOPIC || 'common.error.reporting',
23+
2224
KAFKA_AGGREGATE_SUBMISSION_TOPIC: process.env.KAFKA_AGGREGATE_SUBMISSION_TOPIC || 'submission.notification.aggregate',
2325

2426
// The topic from which the app consumes events
@@ -87,6 +89,10 @@ module.exports = {
8789

8890
AUTH0_PROXY_SERVER_URL: process.env.AUTH0_PROXY_SERVER_URL,
8991

92+
BUSAPI_URL: process.env.BUSAPI_URL || 'https://api.topcoder-dev.com/v5',
93+
94+
KAFKA_MESSAGE_ORIGINATOR: process.env.KAFKA_MESSAGE_ORIGINATOR || 'Legacy-Sub-Processor',
95+
9096
CHALLENGE_INFO_API: process.env.CHALLENGE_INFO_API || 'http://mock-api-host:3000/challenges?filter=id={cid}', // {cid} gets replaced with challenge id
9197

9298
MM_CHALLENGE_SUBTRACK: process.env.MM_CHALLENGE_SUBTRACK || 'MARATHON_MATCH, DEVELOP_MARATHON_MATCH'

0 commit comments

Comments
 (0)