emqx / emqx/MQTT-Client-Examples

Subscribe doesn't work

Open
#36 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
1k
Forks
718
PR merge metrics
No merged PRs in 30d

Description

MQTT client's publish method has "retain" param. It is true or false.

I change the payload data at publish method.

If "retain" param is true value, subscribe method is getting the changed data every time.
But if "retain" param is false value, subscribe method is not getting the changed data.

How can I resolve this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.