This commit is contained in:
2020-10-28 16:10:23 +08:00
parent f05e459be6
commit b943a7af8a
2 changed files with 11 additions and 3 deletions
+10
View File
@@ -242,6 +242,16 @@ abstract class BaseApplication extends Service
}
/**
* @return Producer
* @throws ComponentException
*/
public function getKafka()
{
return $this->get('kafka');
}
/**
* @return \Redis|Redis
* @throws ComponentException