You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-3Lines changed: 14 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Topcoder - Community Processor
1
+
# Topcoder - Community Processor
2
2
3
3
## Dependencies
4
4
@@ -19,6 +19,7 @@ The following parameters can be set in config files or in env variables:
19
19
- KAFKA_CLIENT_CERT_KEY: Kafka connection private key, optional; default value is undefined;
20
20
if not provided, then SSL connection is not used, direct insecure connection is used;
21
21
if provided, it can be either path to private key file or private key content
22
+
- KAFKA_GROUP_ID: Kafka group id, default value is 'tc-member-group-processor-group'
22
23
- KAFKA_TOPICS: Kafka topics to listen, default value is ['member.action.profile.trait.create', 'member.action.profile.trait.update', 'member.action.profile.trait.delete']
23
24
- TC_API_BASE_URL: TC API base URL, default value is 'https://api.topcoder.com'
24
25
- AUTH0_URL: Auth0 URL, used to get TC M2M token
@@ -32,6 +33,12 @@ export AUTH0_URL="<Auth0 URL>"
32
33
export AUTH0_CLIENT_ID="<Auth0ClientID>"
33
34
export AUTH0_CLIENT_SECRET="<Auth0ClientSecret>"
34
35
36
+
Configuration for test is at config/test.js:
37
+
38
+
- MOCK_M2M_API_PORT: the port of mock M2M api, default value: 4000
39
+
- MOCK_GROUP_API_PORT: the port of mock group api, default value: 4001
40
+
- WAIT_TIME: wait time used in test, default is 1500 or 1.5 second
41
+
35
42
## Local Kafka setup
36
43
37
44
-`http://kafka.apache.org/quickstart` contains details to setup and manage Kafka server,
0 commit comments