Zaiming (Stone) Shi
11daaa08e2
chore: bump version numbers to 5.0.9
2022-10-24 09:42:25 +02:00
Zaiming (Stone) Shi
572e2d7c2c
Merge pull request #9209 from zmstone/1020-docs-split-change-logs
...
chore: split change logs
2022-10-24 09:41:18 +02:00
Zaiming (Stone) Shi
31c0d73cd5
chore: split change logs
2022-10-24 09:40:08 +02:00
Zaiming (Stone) Shi
fa5d756ae6
Merge pull request #9186 from HJianBo/more-understanderable-trans
...
chore(docs): translate Max Awaiting PUBREL confs
2022-10-21 17:29:28 +02:00
Zaiming (Stone) Shi
ca052bd0f4
docs: Update apps/emqx/i18n/emqx_schema_i18n.conf
2022-10-21 17:28:49 +02:00
JianBo He
0f03449b43
chore: improve max_awating_rel_timeout conf docs
...
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-10-21 16:08:09 +08:00
JianBo He
49dd25cb14
chore: make spellcheck happy
2022-10-21 14:38:46 +08:00
Zaiming (Stone) Shi
0ca4f30a34
Merge pull request #9193 from zmstone/1020-chore-upgrade-gun-1.3.9
...
1020 chore upgrade gun 1.3.9
2022-10-21 08:13:21 +02:00
JianBo He
8344d70e07
Merge pull request #9194 from zmstone/1020-upgrade-dashboard-to-v1.1.0
...
chore: upgrade to dashboard v1.1.0
2022-10-21 11:49:58 +08:00
JianBo He
6d232fda5c
chore(i18n): improve the max_awaiting_rel desc
2022-10-21 10:27:20 +08:00
JianBo He
72a228c521
chore: update apps/emqx/i18n/emqx_schema_i18n.conf
...
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-10-21 09:53:31 +08:00
Zaiming (Stone) Shi
01e0c9e64e
Merge pull request #9170 from zmstone/fix-publish-api-return-error-code
...
feat(api/publish): return detailed publish results
2022-10-20 20:04:00 +02:00
Zaiming (Stone) Shi
d1332b72e7
feat(api/publish): return detailed publish results
...
Prior to this change, the publish API returns 200 in most of
the cases.
This change provides more insights to the publish result.
For single message publish endpoint (`publish/`):
HTTP error codes are:
200: Everything is OK
202: No subscriber for the topic
400: When mesage is invalid message.
e.g. bad topic name or QoS out of range.
503: Failed to dispatch the message. e.g. during EMQX restart.
The response body is a JSON object with two fields
`message_id`, and `publish_result`.
The `message_id` is a globally unique ID for tracing.
`publish_result` is `"OK"` when the message is delivered
to at least one subscriber.
Otherwise `"no_subscriber"`.
`publish_result` may also be some other informative
message to hint the failure result, the content of which
may change in the future.
For `publish/bulk` endpoint:
200: When all message in the bulk are published OK
202: If at least one message in the bulk had `"no_subscriber"` result
400: When mesage is invalid message. e.g. bad topic name or
QoS out of range.
503: When there is at least one message failed at dispatch.
The reply body is a list of JSON objects having the same layout
as for hte `publish` endpoint.
2022-10-20 20:03:27 +02:00
Zaiming (Stone) Shi
05793ef1e5
chore: upgrade to dashboard v1.1.0
2022-10-20 19:13:09 +02:00
Zaiming (Stone) Shi
67dd733e8d
chore: bump to gun 1.3.9
...
1.3.7 had a bug which caused ssl_passive message unhandled
2022-10-20 19:10:45 +02:00
Zaiming (Stone) Shi
b3ffe89f35
test: assert message receive pid is in the expected pids list
2022-10-20 19:10:45 +02:00
Zaiming (Stone) Shi
27de9998a8
Merge pull request #9191 from zmstone/1020-fix-shared-dispatch
...
fix(shared): do not redispatch shared messages for certain shutdown
2022-10-20 18:59:45 +02:00
JianBo He
fa020d036f
chore(docs): translate Max Awaiting PUBREL confs
2022-10-20 20:14:36 +08:00
Zaiming (Stone) Shi
c7a90d73b2
fix(shared): do not redispatch shared messages for certain shutdown
...
For takeover, there should be no message re-dispatch because
the messages will be retried by the new session.
For kick, messages should not be re-dispatched for security reason.
i.e. if admin has identified that there are malicious messages
stored in persisted sessions, killing the session should not
cause messages to be re-dispatched
2022-10-20 13:51:48 +02:00
Zaiming (Stone) Shi
1686ca26fa
Merge pull request #9155 from zmstone/1014-publish-api-should-not-echo
...
fix(api): publish API only returns message ID
2022-10-14 11:52:17 +02:00
Ivan Dyachkov
f2db35db39
chore: delete unused function clause
2022-10-14 10:46:11 +02:00
Ivan Dyachkov
5a8cab46a9
test: update publish api test suite
2022-10-14 10:17:22 +02:00
Zaiming (Stone) Shi
53fb8fcded
docs: Add changelog
2022-10-14 10:06:45 +02:00
Zaiming (Stone) Shi
c2f176c1e7
fix(api): publish API only returns message ID
2022-10-14 09:49:46 +02:00
JianBo He
6f077c47e7
Merge pull request #9136 from emqx/enhance-flapping-detect-5
...
refactor: enhance the flapping detect accuracy
2022-10-13 09:49:43 +08:00
JianBo He
59c1b0d16e
chore: update changes
2022-10-12 10:06:35 +08:00
JianBo He
56000cbf3e
refactor: more rigorous checking of flapping to improve stability of the system
...
port: https://github.com/emqx/emqx/pull/9045
2022-10-12 10:03:47 +08:00
JianBo He
5a66c8b117
Merge pull request #9082 from HJianBo/update-api-docs
...
chore(i18n): enrich HTTP API desc
2022-10-12 09:36:11 +08:00
Zaiming (Stone) Shi
63774ba5d3
Merge pull request #9104 from zmstone/1005-fix-shared-sub-dispatch
...
fix(shared): re-dispatch inflight (QoS1) and mqueue messages
2022-10-09 11:41:30 +02:00
lafirest
d600c870af
Merge pull request #9060 from lafirest/fix/delayed_pub
...
fix(delayed): Improve time precision of delayed messages
2022-10-09 10:39:31 +08:00
firest
6d852b69a2
chore: update CHANGES
2022-10-09 10:13:09 +08:00
Ivan Dyachkov
9faaffd50b
Merge pull request #9115 from emqx/build-check-if-quicer-binary-present-before-trying-to-sign-it
...
build: check if quicer binary present before trying to sign it
2022-10-07 12:33:28 +02:00
Ivan Dyachkov
5654778bd9
build: check if quicer binary present before trying to sign it
2022-10-07 09:50:25 +02:00
Zaiming (Stone) Shi
f82ca4c0b0
Merge pull request #9101 from zmstone/1005-docs-update-docker-image-run-example
...
docs: remove descriptions about port 8081
2022-10-06 18:25:56 +02:00
Zaiming (Stone) Shi
1c29e2806a
test(shared): add a test case to ensure shared dispatch retry
...
to ensure retry will not enter a dead loop
2022-10-05 22:33:49 +02:00
Zaiming (Stone) Shi
e8279a02ef
fix(shared): re-dispatch inflight (QoS1) and mqueue messages
...
when session terminates (not due to take over)
shared delivery should be re-dispatched to other members
in the group
2022-10-05 22:33:48 +02:00
Zaiming (Stone) Shi
abb941d161
docs: remove port 8081
...
port 8081 is the management API in 4.x
in 5.0 api port is 18083 (same as for serving the dashboard)
2022-10-05 17:15:19 +02:00
Ivan Dyachkov
8003cbae34
Merge pull request #9089 from emqx/chore-always-respect-PKG_VSN
...
chore: respect PKG_VSN in pkg-vsn.sh
2022-10-05 15:45:16 +02:00
Ivan Dyachkov
5deba61dc4
Merge pull request #9095 from emqx/chore-fix-script-path-resolution-on-macos
...
chore: stat to resolve script dir on macos and readlink -f otherwise
2022-10-05 15:38:10 +02:00
Ivan Dyachkov
b3a7fd26dc
chore: stat to resolve script dir on macos and realpath otherwise
2022-10-05 11:39:07 +02:00
Ivan Dyachkov
bc71149d79
chore: respect PKG_VSN in pkg-vsn.sh
2022-10-03 20:02:14 +02:00
JianBo He
d43b680f14
chore: add comments to explain`/status` cant be found in swagger docs
2022-10-01 09:40:27 +08:00
JianBo He
7d7b05ae4e
chore: update app.src
2022-09-30 23:32:23 +08:00
JianBo He
93d3fec73f
chore(i18n): correct tags name
2022-09-30 23:14:19 +08:00
JianBo He
6589a66710
Merge branch 'update-api-docs' of github.com:HJianBo/emqx into update-api-docs
2022-09-30 23:05:07 +08:00
JianBo He
a84c6f938c
chore(swagger): caption tags name
2022-09-30 23:04:26 +08:00
JianBo He
9c6c13789e
chore: update apps/emqx_gateway/i18n/emqx_gateway_api_authn_i18n.conf
...
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2022-09-30 23:03:01 +08:00
JianBo He
8292572da6
chore: apply suggestions from code review
...
Co-authored-by: Thales Macedo Garitezi <thalesmg@gmail.com>
2022-09-30 23:02:28 +08:00
JianBo He
d17c473dc2
chore(i18n): fix the bad desc for statsd
2022-09-30 18:57:08 +08:00
JianBo He
5b219deb4a
Merge remote-tracking branch 'zibo/chore/api-desc' into update-api-docs
2022-09-30 18:48:05 +08:00