Skip to content

Commit 6315ec0

Browse files
authored
Make payload nullable for compacted topics / tombstones (#40)
https://kafka.apache.org/documentation/#design_compactionbasics Compacted Topics and Tombstones have a key set, but payload is null
1 parent d82a3de commit 6315ec0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/RdKafka/Message.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Message
2020
public $partition;
2121

2222
/**
23-
* @var string
23+
* @var string|null
2424
*/
2525
public $payload;
2626

0 commit comments

Comments
 (0)