dapr / dapr/components-contrib

MQTT pubsub to offer metadata for retained messages

Open
#2,317 1 comment 1 reaction 1 assignee Claimed by @SpikeWong View on GitHub
good first issue kind/enhancement P2 size/XS
Dominant language
Go
Stars
602
Forks
580
Avg merge
4d 9h
Merged PRs (30d)
6

Description

## Describe the feature
Today, MQTT pubsub offers the `retain` attribute in the component as a global setting - meaning that every message published with that component will have its value set to true. On the other hand, applications might require only some messages to be set as retained (since only one retained message is allowed per topic). This feature request is to allow `retain` attribute to be overwritten per message metadata on publish call as well.

## Release Note

RELEASE NOTE: Support `retain` per message metadata in MQTT publish

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.