🐛 Fix topic encoding on msg publication.

This commit is contained in:
Andrey Antukh 2021-03-01 16:37:58 +01:00
parent f12f46981b
commit 9b8d73ef86
2 changed files with 3 additions and 3 deletions

View file

@ -219,7 +219,7 @@
(defn- impl-redis-pub
[rac {:keys [topic message]}]
(let [topic (str topic)
(let [topic (str (cfg/get :tenant) "." topic)
message (blob/encode message)
res (a/chan 1)]
(-> (.publish ^RedisAsyncCommands rac ^String topic ^bytes message)