Skip to content

Commit

Permalink
Merge pull request #1037 from tulios/fix-message-key-type
Browse files Browse the repository at this point in the history
Message key can be null
  • Loading branch information
Nevon authored Mar 3, 2021
2 parents d88a605 + 984bd69 commit 0ed42b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ export type Broker = {
}

export type KafkaMessage = {
key: Buffer
key: Buffer | null
value: Buffer | null
timestamp: string
size: number
Expand Down

0 comments on commit 0ed42b1

Please sign in to comment.