Implement TLS authentication for kafka mqt (#1300)

* use secrets to store keys and certificates
This commit is contained in:
Suraj Banakar
2019-10-10 00:18:57 +08:00
committed by Ta-Ching Chen
parent d358a29b17
commit 395a8adf37
5 changed files with 184 additions and 15 deletions
+3 -2
View File
@@ -42,8 +42,9 @@ type (
requestType int
MessageQueueConfig struct {
MQType string
Url string
MQType string
Url string
Secrets map[string][]byte
}
MessageQueue interface {