Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantinCodes committed May 4, 2020
1 parent e738d36 commit 1fea50b
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions Messenger/KafkaTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ class KafkaTransport implements TransportInterface
/** @var string */
private $topicName;

/** @var int */
private $flushTimeoutMs;

/** @var int */
private $receiveTimeoutMs;

Expand All @@ -44,9 +47,6 @@ class KafkaTransport implements TransportInterface
/** @var bool */
private $subscribed;

/** @var int */
private $flushTimeoutMs;

public function __construct(
LoggerInterface $logger,
SerializerInterface $serializer,
Expand Down Expand Up @@ -138,14 +138,6 @@ public function reject(Envelope $envelope): void
// Do nothing. auto commit should be set to false!
}

/**
* Sends the given envelope.
*
* The sender can read different stamps for transport configuration,
* like delivery delay.
*
* If applicable, the returned Envelope should contain a TransportMessageIdStamp.
*/
public function send(Envelope $envelope): Envelope
{
$producer = $this->getProducer();
Expand Down

0 comments on commit 1fea50b

Please sign in to comment.