fix counter

parent 3ca53dac
Pipeline #19420 passed with stages
in 4 minutes and 20 seconds
......@@ -81,7 +81,7 @@ class BulkProcessor(private val consumer: Consumer,
}
}
} else {
if (request.numberOfActions() == recordsInBulk) {
if (request.numberOfActions() == recordsCounter) {
log.info("Bulk upload {} successful. Indexed {} messages. Commit offsets to Kafka. Any failures are resent for processing.",
executionId,
request.numberOfActions())
......@@ -89,7 +89,7 @@ class BulkProcessor(private val consumer: Consumer,
log.warn("Bulk upload {} partially successful. Indexed {} out of {} messages. Commit offsets to Kafka. Any failures are resent for processing.",
executionId,
request.numberOfActions(),
recordsInBulk)
recordsCounter)
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment