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.
2 parents 8b5628b + 4a0203c commit 7cc3fc9Copy full SHA for 7cc3fc9
apps/testing/src/main/java/com/akto/testing/kafka_utils/ConsumerUtil.java
@@ -143,7 +143,7 @@ public void init(int maxRunTimeInSeconds) {
143
ParallelConsumerOptions<String, String> options = ParallelConsumerOptions.<String, String>builder()
144
.consumer(consumer)
145
.ordering(ParallelConsumerOptions.ProcessingOrder.UNORDERED) // Use unordered for parallelism
146
- .maxConcurrency(100) // Number of threads for parallel processing
+ .maxConcurrency(instance.getMaxConcurrentRequest()) // Number of threads for parallel processing
147
.commitMode(ParallelConsumerOptions.CommitMode.PERIODIC_CONSUMER_SYNC) // Commit offsets synchronously
148
.batchSize(1) // Number of records to process in each poll
149
.maxFailureHistory(3)
0 commit comments