From 984bd69cbe64526a8c3d24ad762551cd0a1fc864 Mon Sep 17 00:00:00 2001 From: Tommy Brunn Date: Wed, 3 Mar 2021 16:05:21 +0100 Subject: [PATCH] Message key can be null Fixes #1036 --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 8bb14788f..238639a03 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -607,7 +607,7 @@ export type Broker = { } export type KafkaMessage = { - key: Buffer + key: Buffer | null value: Buffer | null timestamp: string size: number