Skip to content

Commit ae6a604

Browse files
committed
winding handlerConcurrency to 1 at a time to work around ES concurrency conflicts. we shall see if this works...
1 parent feb94f4 commit ae6a604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const ProcessorService = require('./services/ProcessorService')
1212
const healthcheck = require('topcoder-healthcheck-dropin')
1313

1414
// create consumer
15-
const options = { connectionString: config.KAFKA_URL }
15+
const options = { connectionString: config.KAFKA_URL, handlerConcurrency: 1 }
1616
if (config.KAFKA_CLIENT_CERT && config.KAFKA_CLIENT_CERT_KEY) {
1717
options.ssl = { cert: config.KAFKA_CLIENT_CERT, key: config.KAFKA_CLIENT_CERT_KEY }
1818
}

0 commit comments

Comments
 (0)