Skip to content

Commit

Permalink
make broker parameter optional when publishing message to kafka
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusjunges committed Nov 12, 2021
1 parent 5625bef commit 8f5b258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Contracts/CanPublishMessagesToKafka.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@

interface CanPublishMessagesToKafka
{
public function publishOn(string $broker, string $topic): CanProduceMessages;
public function publishOn(string $topic, string $broker = null): CanProduceMessages;
}

0 comments on commit 8f5b258

Please sign in to comment.