Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 119c7f2

Browse files
committedNov 30, 2017
Make kafka url configurable
1 parent 5b6c9fc commit 119c7f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎config/default.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ module.exports = {
2121
'https://github.com/cwdcwd/challengeFetcher'
2222
],
2323
KAFKA_OPTIONS: {
24-
kafkaHost: 'localhost:9092'
24+
kafkaHost: process.env.KAFKA_HOST || 'localhost:9092'
2525
}
2626
};

0 commit comments

Comments
 (0)
This repository has been archived.