Skip to content

Expired ACKs never deleted #143

@samvrlewis

Description

@samvrlewis

As far as I can tell, if a MQTT client publishes a message using the PublishAsync API and registers a callback AsyncAckNotificationHandlerPtr handler, messages are never timed out or expired if no ACK is received for them.

There is a DeleteExpiredAcks function in ClientCoreState which looks like it should do this, but nothing calls it.

Is this an oversight or is there some way to manually call DeleteExpiredAcks on a client? The ClientCoreState isn't exposed to the MQTTClient so I'm thinking probably not. Should I implement time outs in my application instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed-for-stalenessguidanceQuestion that needs advice or information.help wantedWe are asking the community to submit a PR to resolve this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions