This commit is contained in:
2020-10-28 11:51:43 +08:00
parent fbead5c083
commit 3748efc6c8
+1 -1
View File
@@ -31,7 +31,7 @@ class KafkaProviders extends Providers
if (empty($kafka) || !($kafka['enable'] ?? false)) {
return;
}
if (!isset($kafka['topics']) || empty($kafka['topics'])) {
if (!isset($kafka['topic']) || empty($kafka['topic'])) {
throw new Exception('kafka configure error.');
}
if (!isset($kafka['version']) || empty($kafka['version'])) {