modify
This commit is contained in:
@@ -31,6 +31,16 @@ class TaskContainer extends BaseObject
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param $topic
|
||||
* @return mixed|null
|
||||
*/
|
||||
public function getConsumer(string $topic)
|
||||
{
|
||||
return $this->_topics[$topic] ?? null;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param $topic
|
||||
* @param \Kafka\Struct $struct
|
||||
|
||||
Reference in New Issue
Block a user