This commit is contained in:
2020-12-17 14:09:14 +08:00
parent 672a719dbd
commit 36c1d0502a
151 changed files with 1937 additions and 2848 deletions
+2 -2
View File
@@ -51,7 +51,7 @@ class Producer extends Component
* @param $servers
* @return Producer
*/
public function setBrokers(string $servers)
public function setBrokers(string $servers): static
{
$this->conf->set('metadata.broker.list', $servers);
return $this;
@@ -62,7 +62,7 @@ class Producer extends Component
* @param $servers
* @return Producer
*/
public function setTopic(string $servers)
public function setTopic(string $servers): static
{
$this->_topic = $servers;
return $this;