Commit Graph

11623 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi
f7016e53a4 chore: delete hocon from emqx_prometheus application deps 2022-08-09 20:19:31 +02:00
Shawn
82550a585a fix: add test cases for query async 2022-08-10 00:45:34 +08:00
Shawn
efd6c56dd9 fix: test cases for batch query sync 2022-08-10 00:45:34 +08:00
Shawn
145ff66a9a fix: issues found by dialyzer and elvis 2022-08-10 00:45:26 +08:00
Shawn
35fe70b887 feat: support aysnc callback to connector modules 2022-08-10 00:34:35 +08:00
Shawn
f1419d52f1 fix(resource): remove resource at the end of each test 2022-08-10 00:34:35 +08:00
Shawn
a2afdeeb48 feat: add test cases for batching query 2022-08-10 00:34:35 +08:00
Shawn
8f0954837b fix: update test cases for emqx_connector 2022-08-10 00:34:35 +08:00
Shawn
75adba0781 fix: increase resource metrics using the resource id 2022-08-10 00:34:35 +08:00
Shawn
d3950b9534 fix(resource): make option 'queue_enabled' disabled by default 2022-08-10 00:34:35 +08:00
Shawn
0377d3cf61 fix: update existing testcases for new emqx_resource 2022-08-10 00:34:35 +08:00
Shawn
2fb42e4d37 refactor: create emqx_resource_worker_sup for resource workers 2022-08-10 00:34:35 +08:00
Shawn
0087b7c960 fix: remove the extra file replay.erl 2022-08-10 00:34:35 +08:00
Shawn
d8d8d674e4 feat(resource): start emqx_resource_worker in pools 2022-08-10 00:34:35 +08:00
Shawn
12904d797f feat(resource): first commit for batching/async/caching mechanism 2022-08-10 00:34:35 +08:00
Zaiming (Stone) Shi
6d5ad97528
Merge pull request #8670 from zmstone/0809-5.0-improve-lwm2m-logging
fix(lwm2m): better logging for unknown object IDs
2022-08-09 16:24:20 +01:00
Zaiming (Stone) Shi
dd8bcd80cb chore: bump app vsn for emqx_gateway to 0.1.3 2022-08-09 13:30:09 +02:00
William Yang
30f24131e2
Merge pull request #8650 from qzhuyan/fix/william/keep-alive-check
fix: keep alive check
2022-08-09 11:37:12 +02:00
Zaiming (Stone) Shi
13f5c0b6b1 fix(lwm2m): better logging for unknown object IDs
Prior to this change, unknown object IDs would result in a tuple
{error, no_xml_definition}, and this tuple is passed down to xmerl
lib to get XML node data and eventually crash with function_clause.

With this fix, the unknown object ID exception is caught and logged
properly.
2022-08-09 11:26:12 +02:00
Zaiming (Stone) Shi
699489297b
Merge pull request #8462 from fridayy/feat_round_robin_per_node
feat(shared-sub): add round_robin_per_group strategy
2022-08-09 10:03:52 +01:00
firest
463d255c0a fix(dashboard): make dialyzer happy 2022-08-09 16:36:46 +08:00
JimMoen
cec47ba4f0
Merge pull request #8663 from JimMoen/refine-influxdb-conf-api
refine influxdb conf api
2022-08-09 16:22:50 +08:00
firest
0f8ebbdf0f feat(dashboard): add bootstrap files to initialize user accounts 2022-08-09 16:02:50 +08:00
JimMoen
9d17bf31f8 fix: InfluxDB api v1 not support uint type 2022-08-09 14:28:54 +08:00
lafirest
38c771b581
Merge pull request #8662 from lafirest/fix/health_check_api
fix(mgmt): remove the `/api/v5` prefix of status API
2022-08-09 14:18:14 +08:00
JimMoen
d51ca2672a fix: spellcheck and update checker repo version 2022-08-09 11:50:05 +08:00
firest
0f8e80afb8 chore: fix ci workflows error 2022-08-09 11:22:53 +08:00
firest
966b508c6f chore: fix status test error 2022-08-09 11:22:53 +08:00
firest
dee92bb8b8 fix(mgmt): fix status api test case error 2022-08-09 11:22:48 +08:00
JimMoen
7305c3c04c fix(influxdb): parsed boolean type match 2022-08-08 18:22:46 +08:00
JimMoen
35e347aec8 feat: refine influxdb bridge conf
Consistent influxdb line protocol config to raw syntax format.
See also
[InfluxDB 2.3 Line Protocol](https://docs.influxdata.com/influxdb/v2.3/reference/syntax/line-protocol/) and
[InfluxDB 1.8 Line Protocol](https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_tutorial/)
2022-08-08 18:06:49 +08:00
firest
01ba45cc37 fix(mgmt): remove the /api/v5 prefix of status API 2022-08-08 17:34:18 +08:00
JimMoen
06f246a896 fix: prevent unexcepted square brackets in influxdb line protocol 2022-08-08 10:45:18 +08:00
JimMoen
33a604dcaa fix: refine influxdb connector api type name 2022-08-07 19:37:44 +08:00
JimMoen
2e336fbc01 fix: bridge and connector namespace contains DB name
Contains Detailed DB name for identifier hocon schema refs.
2022-08-07 19:37:44 +08:00
JimMoen
4d0516c6e9 chore: use HStreamDB for module name 2022-08-07 19:37:44 +08:00
Benjamin Krenn
70cb7768b0
Merge branch 'emqx:master' into feat_round_robin_per_node 2022-08-05 11:12:23 +02:00
Benjamin Krenn
71f31ab5cd feat(shared-sub): add round_robin_per_group strategy
remove flaky tests that provide little value
2022-08-05 11:10:54 +02:00
Thales Macedo Garitezi
e9d7cde0b4
Merge pull request #8638 from thalesmg/license-http-api-50-upload
chore(license): treat license file API as an upload (5.0)
2022-08-04 16:27:55 -03:00
Thales Macedo Garitezi
e76682d368 test: apply review comments 2022-08-04 15:27:45 -03:00
Thales Macedo Garitezi
5bd2875db8
Merge pull request #8637 from thalesmg/esockd-tls-gc
feat: add option to gc after TLS/SSL handshake
2022-08-04 14:18:45 -03:00
Thales Macedo Garitezi
68592373e3 test: add a couple more tests 2022-08-04 14:01:27 -03:00
Thales Macedo Garitezi
d2e146aeff test: fix flaky gateway tests 2022-08-04 13:16:17 -03:00
Thales Macedo Garitezi
7e6b94fc12 test: avoid stopping cover and using meck 2022-08-04 10:23:49 -03:00
Benjamin Krenn
5fa2a2aa44
Merge branch 'emqx:master' into feat_round_robin_per_node 2022-08-04 11:02:51 +02:00
Benjamin Krenn
dec892e867 feat(shared-sub): add round_robin_per_group strategy
add round robin per group strategy that balances load in a more predictable fashion when using no replication
2022-08-04 10:40:50 +02:00
lafirest
6f8ceacece
Merge pull request #8645 from lafirest/feat/bridge_mysql
feat(bridge): add mysql sink
2022-08-04 16:10:47 +08:00
firest
aa6077bdea fix(bridge): remove emqx_ee_connector_mysql 2022-08-04 14:52:16 +08:00
William Yang
01b9115fd8 fix: keep alive check
According to MQTT spec, MQTT Server should check a complete MQTT message
recv in last keep-alive time frame instead of number of received bytes
from the socket.

This commit change to check the recv pkt counter from process dict
instead.

Also it could save some calls to erlang port.
2022-08-03 17:14:19 +02:00
Thales Macedo Garitezi
7f932d64be docs: adjust descriptions
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-08-03 09:38:51 -03:00