Skip to content

Commit

Permalink
allow getTopicName to return null
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusjunges committed Nov 12, 2021
1 parent 8f5b258 commit 3e6289d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Contracts/KafkaMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ interface KafkaMessage
{
public function getKey(): mixed;

public function getTopicName(): string;
public function getTopicName(): ?string;

public function getPartition(): ?int;

Expand Down

0 comments on commit 3e6289d

Please sign in to comment.