We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8068c8 commit 2cf0f02Copy full SHA for 2cf0f02
config/default.js
@@ -7,8 +7,8 @@ module.exports = {
7
NAME: 'db.ifxpgmigrate.sync',
8
PARTITION: 0
9
},
10
- RETRY_COUNTER: 3,
11
- KAFKA_REPOST_COUNT: 5,
+ RETRY_COUNTER: parseInt(process.env.RETRY_COUNTER || 3, 10),
+ KAFKA_REPOST_COUNT: parseInt(process.env.KAFKA_REPOST_COUNT || 5, 10),
12
KAFKA_URL: process.env.KAFKA_URL,
13
KAFKA_GROUP_ID: process.env.KAFKA_GROUP_ID || 'ifx-pg-consumer',
14
KAFKA_CLIENT_CERT: process.env.KAFKA_CLIENT_CERT ? process.env.KAFKA_CLIENT_CERT.replace('\\n', '\n') : null,
0 commit comments