Shawn
7bc2d9edbb
fix: remove bison from the required tools when building emqx
2022-05-21 14:17:12 +08:00
Kjell Winblad
efd6461e15
docs: chinese documentation for jq timeout configuration
...
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-05-21 07:07:29 +02:00
Kjell Winblad
402ab7e759
chore: remove unnecessary repeated code
...
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-05-18 07:21:16 +02:00
Kjell Winblad
05032467bd
feat(rule_engine): default timeout for jq/2 and jq/3 with timeout
...
This commit adds a default timeout of 10 seconds to the rule engine's
`jq/2` function, and adds a new function `jq/3` (where the last parameter is
a timeout value). The default timeout can be configured with the setting
"rule_engine.jq_function_default_timeout".
Having a timeout when executing jq code in the rule engine is important
as jq code can potentially run forever. Also, the Erlang jq library
limits the number of jq programs that can execute concurrently so a jq
program that loops forever could potentially also prevent a "non-buggy"
jq program from ever starting.
2022-05-17 19:36:32 +02:00
Thales Macedo Garitezi
cab5ed09ff
Merge pull request #7949 from thalesmg/fix-telemetry-num-clients
...
fix(telemetry): use the live connection count instead of max conns
2022-05-16 09:16:25 -03:00
Xinyu Liu
9d5fef1513
Merge pull request #7961 from terry-xiaoyu/emqx_build_5.0-15
...
chore: ping emqx-builder to 5.0-15
2022-05-16 19:20:32 +08:00
Xinyu Liu
5d5a6a14cf
Merge pull request #7957 from EMQ-YangM/fix_other_events
...
fix: ignore all other events
2022-05-16 18:23:36 +08:00
Shawn
c4faaee555
chore: release 5.0.0-rc.3
2022-05-16 18:10:42 +08:00
JianBo He
4d35338cd1
Merge pull request #7963 from HJianBo/add-proto-name-for-client-disconnected-v5
...
feat(rule-engine): add proto_name/proto_ver for $event/client_disconnected event
2022-05-16 18:06:06 +08:00
EMQ-YangM
574a40b327
fix: wait for test_resource stop
2022-05-16 17:00:42 +08:00
EMQ-YangM
561d8c3912
fix: load connector schema
2022-05-16 16:38:33 +08:00
JianBo He
d8ec51a0c2
feat(rule-engine): add proto_name/proto_ver for $event/client_disconnected event
2022-05-16 15:12:41 +08:00
EMQ-YangM
b5addf7e05
fix: log all ignore events
2022-05-16 15:08:03 +08:00
EMQ-YangM
bbbfea1b5b
fix: ignore all other events
2022-05-16 15:08:03 +08:00
Zaiming (Stone) Shi
3524fb6994
Merge pull request #7775 from zmstone/0426-5.0-hint-metrics-merge-errors
...
fix: hint metrics merge errors
2022-05-16 07:42:01 +01:00
Zaiming (Stone) Shi
1c95c417f7
Merge pull request #7951 from zmstone/0514-fix-flaky-authn-test-case
...
0514 fix flaky authn test case
2022-05-16 06:55:28 +01:00
EMQ-YangM
1a1c82932a
fix: when connecting health check failed, update status.
2022-05-16 10:47:20 +08:00
Chris
93799e3ac6
refactor: delete now unused emqx_resource modules
2022-05-16 09:54:26 +08:00
Xinyu Liu
74bef22299
Merge pull request #7947 from emqx/fix_flaky_tests
...
fix: fix tests for connector so they do not fail
2022-05-16 09:35:00 +08:00
Xinyu Liu
c4fd31ae25
Merge pull request #7916 from emqx/EMQX-4204-auto-timer-based-retry-when-in-disconnected-state
...
feat: add auto_retry for disconnected state in resource manager
2022-05-16 09:34:08 +08:00
JianBo He
3f59650e4b
Merge pull request #7944 from EMQ-YangM/fix_bridge_status
...
fix: restart resource should not clear metrics
2022-05-16 09:16:12 +08:00
Zaiming (Stone) Shi
ed0ab70aaf
test: fix flaky-ness of authn api tests
...
if api test suite runs after the JWT suite, it failes as
the config is not clean
2022-05-15 09:19:31 +02:00
Zaiming (Stone) Shi
522bd935ba
fix(authn): check authenticator config existence in pre-update callback
...
prior to this change, the authenticator existence check was done
in the post-update callback, this causes confusion as teh list
already contains duplication.
2022-05-15 09:19:31 +02:00
Zaiming (Stone) Shi
9527561125
refactor: ensure auth mechanism is binary
2022-05-15 09:19:28 +02:00
Zaiming (Stone) Shi
382d9079e1
Merge pull request #7923 from zmstone/0511-pin-lc-0.3.0-fix-memory-usage-false-alarm
...
pin lc 0.3.0 fix memory usage false alarm
2022-05-13 21:55:23 +01:00
Zaiming (Stone) Shi
2eb621ba57
fix: hint metrics merge errors
2022-05-13 21:38:51 +02:00
Zaiming (Stone) Shi
d48528d74f
chore(emqx_os_mon): no need for special handling of 0
2022-05-13 21:12:08 +02:00
Zaiming (Stone) Shi
5f3780a032
fix(os_mon): ensure float point number for ~f format
2022-05-13 20:55:28 +02:00
Zaiming (Stone) Shi
99d50d2455
Merge pull request #7496 from zmstone/0401-5.0-add-parallel-map-lib
...
refactor: refine pmap with nolink_apply
2022-05-13 18:40:36 +01:00
JimMoen
0c88457b4e
Merge pull request #7945 from DDDHuang/dash_m
...
feat: dashboard monitor missed topics field
2022-05-14 00:15:43 +08:00
Ilya Averyanov
4d661cd67b
Merge pull request #7939 from savonarola/authz-generalize
...
feat(authz): add default authn-based authz source
2022-05-13 17:12:56 +03:00
Zaiming (Stone) Shi
c355c40ea8
refactor: call emqx_alarm:ensure_deactivated everywhere
2022-05-13 16:02:55 +02:00
Zaiming (Stone) Shi
4013dd2f14
refactor: refine pmap implementation
2022-05-13 15:22:42 +02:00
Georgy Sychev
0522361604
feat(shared_sub): Per-group shared subscription and local strategy
2022-05-13 14:23:06 +02:00
Thales Macedo Garitezi
e0a6ebbd56
fix(telemetry): use the live connection count instead of max conns
2022-05-13 09:02:15 -03:00
Zaiming (Stone) Shi
1ea0639321
fix(os_mon): do mem check and alarm triggers in emqx_os_mon
2022-05-13 13:06:27 +02:00
Zaiming (Stone) Shi
95f81126ca
fix(emqx_os_mon): call load_ctl (lc) to get accurate memory stats
...
Prior to this commit, the RAM usage ratio reported by memsup is
used to trigger EMQX alarm.
This ratio counted system cache as 'used', so quite often
a false alarm is triggered.
With lc 0.3.0, the usage is caculated without cached RAM
2022-05-13 13:06:27 +02:00
Zaiming (Stone) Shi
eb592df275
chore: pin lc version 0.3.0
...
lc 0.3.0 has new APIs added to get total RAM and usage ratio
2022-05-13 13:06:27 +02:00
Zaiming (Stone) Shi
44b14fc019
Merge pull request #7948 from zmstone/0513-fix-flaky-test
...
0513 fix flaky test
2022-05-13 12:06:03 +01:00
ieQu1
d277e2b644
Merge pull request #7897 from ieQu1/persist-sess-schema
...
feat(persistent_session): Make schema more flexible
2022-05-13 11:53:30 +02:00
Zaiming (Stone) Shi
7207b2fa70
test: ensure emqx app stoped for emqx_ctl_SUITE run
2022-05-13 11:52:41 +02:00
Zaiming (Stone) Shi
b17a32661e
test: fix flaky test, wait for new sample data
2022-05-13 11:52:41 +02:00
Ilya Averyanov
91da451803
feat(authz): add default authn-based authz source
2022-05-13 12:51:10 +03:00
Chris
6574c33797
feat: add auto_retry for disconnected state in resource manager
2022-05-13 11:19:39 +02:00
Chris
dbc361959c
fix: fix tests for connector so they do not fail
2022-05-13 11:08:11 +02:00
JimMoen
ce2638d9c3
test(exhook): test create ExHook server with bad name
2022-05-13 16:56:29 +08:00
JimMoen
4d73fe83be
fix(exhook): ExHook name limit with regular expression
2022-05-13 16:56:29 +08:00
DDDHuang
a8ef4698e6
feat: dashboard monitor missed topics field
2022-05-13 16:15:33 +08:00
EMQ-YangM
d5c416736b
fix: restart resource should not clear metrics
2022-05-13 16:05:41 +08:00
JianBo He
93a65da6bc
Merge pull request #7937 from JimMoen/fix-exhook-ssl-key-path
2022-05-13 16:05:16 +08:00