-
Notifications
You must be signed in to change notification settings - Fork 134
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
support json payload template #202
Merged
qzhuyan
merged 16 commits into
emqx:master
from
qzhuyan:dev/william/json-payload-template
Sep 19, 2024
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
c03b18d
feat(topics-payload): publish m-topics data from json spec
qzhuyan 1543223
update fix
qzhuyan ea8dfef
feat(topics-payload): topic is no longer required
qzhuyan 49be2ce
build: fix relx
qzhuyan 0a88ea7
feat(topics_payload): render payload top level field template.
qzhuyan 1bc47cc
cust: json payload ts unit
qzhuyan d1274bf
feat(quic): mutli streams
qzhuyan 85ab497
fix: typing
qzhuyan 5f72fbb
chore(quic): update stream priority
qzhuyan 019ac27
fix: adjust topic spec publish schedulering.
qzhuyan f0fad5a
doc: add topic_spec.md
qzhuyan 83be0f9
feat: bump emqtt to 1.13.1
qzhuyan b40d801
feat: bump to quicer 0.0.504
qzhuyan e2a7e43
feat: prefix payload headers
qzhuyan a41a6a9
chore: address review comments
qzhuyan fb45cab
build: move deps to emqtt_bench app.src
qzhuyan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,17 @@ | |
{description, "Erlang MQTT v5.0 Benchmark Tool"}, | ||
{vsn, git}, | ||
{registered, []}, | ||
{applications, [kernel, stdlib, emqtt, getopt, gun, cowlib]}, | ||
{applications, [kernel, | ||
stdlib, | ||
emqtt, | ||
getopt, | ||
gun, | ||
cowlib, | ||
jsx, | ||
prometheus, | ||
quantile_estimator, | ||
cowboy | ||
]}, | ||
{included_applications, [cowboy, prometheus]}, | ||
{env, []}, | ||
{maintainers,["Feng Lee <[email protected]>"]}, | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
switch to 27 and use https://www.erlang.org/doc/apps/stdlib/json.html?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true.
json encoding with large payload is toooo slow. Took me some time to find the slowness is coming from jsx.
In my demo, or test report, I will use
eterm
encoding, json encoding is reserved for specific customer.