Skip to content

Commit

Permalink
patch: update publishing for schedules topic replace
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenSrcerer committed Mar 21, 2024
1 parent 1bfc3a6 commit 18936f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class RxMqttClient(

fun publish(scheduleId: String): Flowable<Mqtt5PublishResult>? {
val topic = mqttConfig.schedulerEvents()
.replace("\$share/backend-cluster/", "")
.replace("\$share/scheduler-cluster/", "")
.replace("+", scheduleId)

return publish(topic, "", MqttQos.EXACTLY_ONCE)
Expand Down

0 comments on commit 18936f3

Please sign in to comment.