lafirest
44fe882f14
refactor(emqx_slow_subs): refactor slow subs
2022-01-19 09:50:31 +08:00
JimMoen
d76159d543
Merge remote-tracking branch 'emqx/main-v4.3' into sync-from-v4.3
2021-12-13 18:46:23 +08:00
JimMoen
db8131d2a5
revert(emqx_conf): zone.external.max_topic_levels
...
revert part of changes in 289415b5aa
2021-12-09 20:13:40 +08:00
zhongwencool
2c2145dfe6
Merge branch 'main-v4.3' into sync-from-4.3
2021-12-07 23:20:01 +08:00
lafirest
fef3fc27cb
refactor(emqx_slow_subs): refactor use moving average ( #6287 )
...
* refactor(emqx_slow_subs): refactor use moving average
* fix(emqx_slow_subs): change elapsed to latency, and fix some error
* fix(emqx_slow_subs): fix emqx_mgmt_api.erl indent
* fix(emqx_slow_subs): change api name
* fix(emqx_slow_subs): fix and improve some code
* fix(emqx_slow_subs): move clienid filed from latency_stats to session
2021-11-26 10:42:15 +08:00
JimMoen
289415b5aa
fix(conf): change `max_topic_levels` default configuration
2021-11-25 09:52:12 +08:00
zhanghongtong
f46084438b
chore(cluster): add new type for dns auto cluster
...
Signed-off-by: zhanghongtong <rory-z@outlook.com>
2021-11-15 10:46:52 +08:00
lafirest
a4a7cac647
fix(eqmx_st_statistics): add ignore_before_create in config ( #6140 )
...
1. allows not to process the message before the session is created
to solve the problem caused by clean session = false
2. fix some elvis errors
2021-11-12 14:00:48 +08:00
lafirest
1dd18aa07a
fix(emqx_st_statistics): change emqx_st_statistics implementation fro… ( #6115 )
...
* fix(emqx_st_statistics): change emqx_st_statistics implementation from plugin to module
2021-11-11 10:16:06 +08:00
Zaiming Shi
aa90177302
Merge remote-tracking branch 'origin/main-v4.3' into main-v4.4
2021-11-03 08:28:14 +01:00
Zaiming Shi
9832a2ed00
build: show linux distro in BUILT_ON info
2021-10-31 17:21:47 +01:00
k32
791caba2ed
fix(broker): Fix out-of-order message delivery in a cluster
...
Fixes : #4658
2021-10-29 10:47:56 +02:00
Zaiming Shi
cb3d2fd6c3
chore: refine -heart option document
2021-10-28 21:15:54 +02:00
Shawn
d2d42ed33e
fix(logger): change default value of log.max_depth to 100
...
The value 20 is too small to inspect some error messages, especially
when it contains stack traces.
2021-08-13 09:46:49 +08:00
JianBo He
07c29e8c55
chore(acl): support ipaddr list
2021-07-28 13:54:13 +08:00
Zaiming Shi
780e403262
fix(conf): change wss.external.max_connections from 16 to 102400
2021-07-09 09:30:57 +08:00
Zaiming Shi
1f57968c9b
chore(conf): change default number of gen_rpc connections to 1
2021-06-10 19:59:10 +02:00
Zaiming Shi
41cdedc0a2
chore(config): add log.max_depth example config
2021-06-05 05:22:14 +02:00
Zaiming Shi
7afd4940e7
chore(config): do not expose manual rpc peer port config
...
when using `manual`, all nodes in the cluster should agree
to the same port number, so there is no need to make peer
port number for clients.
2021-05-10 14:26:14 +02:00
Zaiming Shi
94c8add314
chore(config): default log.single_line=true
2021-05-06 11:03:02 +02:00
Zaiming Shi
4cff5c4dac
chore: fix config doc
2021-05-06 11:03:02 +02:00
Zaiming Shi
81da075b9b
chore(config): rename log.use_json_formatter to log.formatter
2021-05-06 11:03:02 +02:00
Zaiming Shi
79181072e2
feat(logger): add formatter emqx_logger_jsonfmt
2021-05-06 11:03:02 +02:00
William Yang
a77aba5c74
feat: add patches dir: data/patches
...
add patch dir for convenient online patching.
2021-04-30 11:35:03 +02:00
William Yang
e122ac5716
perf(broker): speedup trans when broker has a big mqueue
2021-04-29 08:52:42 +02:00
Zaiming Shi
4bdcdfb9b9
chore(config): Add new configs to emqx.conf
2021-04-28 15:19:53 +02:00
Zaiming Shi
6be28cecab
chore(logging): default to multi-line logging
2021-04-26 11:11:27 +02:00
Zaiming Shi
87a653470e
fix(logging): log sasl to tty when console or foreground
2021-04-23 17:12:02 +02:00
Zaiming Shi
fd69969014
refactor(logging): Log to single line
2021-04-23 06:54:10 +02:00
Karol Kaczmarek
7ba255a301
fix: ws proxy port config
2021-04-17 19:58:50 +02:00
zhanghongtong
446a69c814
fix(ws connection): fix peer_cert_as_username error when ws connect
2021-04-15 09:06:27 +08:00
z8674558
a48e7df4f5
feat(emqx_ws_connection): check http header to know real IP/port
2021-04-14 06:45:39 +00:00
Shawn
f902d880c1
fix(emqx): rename wont_clear_alarm_in to min_alarm_sustain_duration
2021-04-10 12:17:04 +08:00
Shawn
df0e905754
refactor(emqx): the congestion alarm
2021-04-10 12:17:04 +08:00
Zaiming Shi
a4b30ea77c
feat(emqx): Add backtrace_depth configuration
2021-03-23 21:30:49 +01:00
Zaiming Shi
dee375d4db
chore(config): delete unused template in emqx.conf
...
the bbmustache template additional_configs is no longer used
2021-03-23 21:30:49 +01:00
ayodele.akingbule
1086c09242
docs(config): CSWSH(Cross-Site Web-Socket Hijack) Documentation
2021-03-23 19:49:07 +08:00
zhanghongtong
2232bca150
chore(config): update enum for config item
...
The tcp listener's peer_cert_as_clientid and peer_cert_as_username can only be set to cn
2021-03-17 16:30:34 +08:00
zhanghongtong
237603cee6
revert: fix(config): delete peer_cert_as_username and peer_cert_as_clientid in tcp listener
...
This reverts commit: 4bf0ad1baf
2021-03-17 16:30:34 +08:00
Turtle
08366c2735
fix(conf): fix split modules conf error
2021-03-17 14:47:18 +08:00
zhanghongtong
4bf0ad1baf
fix(config): delete peer_cert_as_username and peer_cert_as_clientid in tcp listener
2021-03-16 19:32:17 +08:00
zhouzb
ef1be26bc8
fix(subprotocol): fix bad configuration item name for subprotocol
2021-03-16 13:51:27 +08:00
Zaiming Shi
0eda65d06f
chore(config): emqx.conf segmentation
...
This is to facilitate enterprise edition release script
to slice up the files into smaller config files
2021-03-10 17:39:45 +01:00
zhouzb
b8d2e3357d
chore(configuration): fix the configuration example in the comment
2021-03-10 08:47:40 +01:00
Zaiming Shi
6b2949e2c1
chore(config): Change default log_to config
...
By default log to file.
When start from console or forgreground, only log to console.
Only log to file for package builds.
2021-03-02 14:05:04 +01:00
Shawn
cc373df49a
fix(etc): remove .d suffix from dir names
2021-03-02 16:47:22 +08:00
Benjamin Große
28f9b4d519
feat(peer_cert_as_clientid): peer_cert_as_clientid = cn | dn | crt | pem | md5
...
pem is base64 encoded instead of binary crt
peer_cert_as_username=crt breaks exhook proto utf8 parsing of username
crt cannot be used in a topic name due to being invalid utf8
pem cannot be used in a topic name due to having slashes
peer_cert_as_clientid = md5 allows to e.g. subscribe to "t/%c" with ACL
existing peer_cert_as_username combinations are unaffected.
2021-02-19 10:53:11 +08:00
Zaiming Shi
507759b9f1
Revert "refactor(emqx_modules): Move modules config to app dir"
...
This reverts commit 9cae8784c0
.
Because the reverted change broke compatibility with 4.2.x
configuration.
2021-02-11 16:44:12 +01:00
Zaiming Shi
514c2c0af5
Merge pull request #4169 from zmstone/refactor-move-modules-config-to-emqx-modules-app
...
refactor(emqx_modules): Move modules config to app dir
2021-02-10 09:03:04 +01:00
Zaiming Shi
9cae8784c0
refactor(emqx_modules): Move modules config to app dir
2021-02-10 00:02:52 +01:00