Skip to content

Conversation

@mnowotka
Copy link

This PR adds ttlInSeconds fields and parsing from properties.messageExpiryInterval

@mnowotka mnowotka changed the title CM-1511 broker TTL Broker TTL Aug 30, 2021
{
"name": "aedes-packet",
"version": "2.3.1",
"version": "2.3.2",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the version bump

this.qos = original.qos || 0
this.retain = original.retain || false
this.dup = original.dup || false
this.ttlInSeconds = original.properties?.messageExpiryInterval
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't keep the original packet structure and use packet properties?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants