Skip to content

Commit

Permalink
Reduce the kafka message size limit more
Browse files Browse the repository at this point in the history
  • Loading branch information
Ktl-XV committed Oct 12, 2023
1 parent f1ee3c5 commit 6643df4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/kafka_send.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export async function kafkaSendRawAsync(
keyFields: string[],
payload: any[],
): Promise<void> {
const MAX_SIZE = 400000;
const MAX_SIZE = 100000;

let currentSize = 0;
let messages = [];
Expand Down

0 comments on commit 6643df4

Please sign in to comment.