Skip to content

Commit

Permalink
Add conditionable trait to producer builder
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusjunges committed Jan 9, 2024
1 parent 71e44e4 commit 3fe7a8f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Producers/ProducerBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Junges\Kafka\Producers;

use Illuminate\Support\Traits\Conditionable;
use Junges\Kafka\Concerns\InteractsWithConfigCallbacks;
use Junges\Kafka\Config\Config;
use Junges\Kafka\Config\Sasl;
Expand All @@ -12,6 +13,7 @@
class ProducerBuilder implements MessageProducer
{
use InteractsWithConfigCallbacks;
use Conditionable;

private array $options = [];
private ProducerMessage $message;
Expand Down

0 comments on commit 3fe7a8f

Please sign in to comment.