topics used but not make
This commit is contained in:
H.K
2019-09-30 10:50:40 +08:00
committed by joy.zhou
parent 53a79caad9
commit e74b9facd1
+1 -1
View File
@@ -65,7 +65,7 @@ func (k *kafka) connect() {
func (k *kafka) Publish(e *Elements) error {
config := k.kafakConfig
key := e.ClientID
var topics map[string]bool
topics := make(map[string]bool)
switch e.Action {
case Connect:
if config.ConnectTopic != "" {