This commit is contained in:
2020-10-30 01:33:33 +08:00
parent 7dea7b8f4e
commit 9ed157e3ed
+1 -1
View File
@@ -60,7 +60,7 @@ class Producer extends Component
*/ */
public function setAck(bool $value) public function setAck(bool $value)
{ {
$this->topicConf->set('request.required.acks', (int)$value); $this->topicConf->set('request.required.acks', (string)$value);
return $this; return $this;
} }