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.
handlerConcurrency
1 parent feb94f4 commit ae6a604Copy full SHA for ae6a604
src/app.js
@@ -12,7 +12,7 @@ const ProcessorService = require('./services/ProcessorService')
12
const healthcheck = require('topcoder-healthcheck-dropin')
13
14
// create consumer
15
-const options = { connectionString: config.KAFKA_URL }
+const options = { connectionString: config.KAFKA_URL, handlerConcurrency: 1 }
16
if (config.KAFKA_CLIENT_CERT && config.KAFKA_CLIENT_CERT_KEY) {
17
options.ssl = { cert: config.KAFKA_CLIENT_CERT, key: config.KAFKA_CLIENT_CERT_KEY }
18
}
0 commit comments