Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve republish action params #81

merged 1 commit into from Jul 18, 2019


Copy link

terry-xiaoyu commented Jul 11, 2019

Now the republish action supports a new param payload template to customize the payload that is about to be re-published to the target topic.

The target topic param now supports placeholders too.


Given params like follows:

Targe topic: "t/${client_id}"
Payload template: "my-name: ${username}"

And if a client with client_id = 'shawn-c' and username = 'shawn-u' published a message 'hello', a message my-name: shawn-u would be re-published to the target topic t/shawn-c.

@terry-xiaoyu terry-xiaoyu requested review from emqplus and turtleDeng Jul 11, 2019
@terry-xiaoyu terry-xiaoyu merged commit c617f92 into develop Jul 18, 2019
2 checks passed
2 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
continuous-integration/travis-ci/push The Travis CI build passed
@terry-xiaoyu terry-xiaoyu deleted the improve_republish branch Jul 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.