Skip to content

Commit 8f7c454

Browse files
committed
increase default to 2k
1 parent adc99b1 commit 8f7c454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/service-utils/src/node/kafka.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export class KafkaProducer {
117117
if (!this.producer) {
118118
this.producer = this.kafka.producer({
119119
allowAutoTopicCreation: options?.allowAutoTopicCreation ?? false,
120-
maxInFlightRequests: options?.maxInFlightRequests ?? 1000,
120+
maxInFlightRequests: options?.maxInFlightRequests ?? 2000,
121121
retry: { retries: options?.retries ?? 5 },
122122
});
123123
await this.producer.connect();

0 commit comments

Comments
 (0)