Commit Graph

418 Commits

Author SHA1 Message Date
Zaiming (Stone) Shi adc422d063 chore: re-split dynamo i18n file 2023-04-20 11:11:35 +02:00
Zaiming (Stone) Shi 415830a0a2 Merge remote-tracking branch 'origin/release-50' into 0420-sync-release-50-to-masteer 2023-04-20 11:03:39 +02:00
Zaiming (Stone) Shi c2385f85d6
Merge pull request #10444 from zmstone/0418-cherry-pick-fixes-for-e503
0418 cherry pick fixes for e503
2023-04-20 10:58:57 +02:00
Thales Macedo Garitezi a9bd91fcff refactor(gcp_pubsub): move GCP PubSub Bridge to its own app
Fixes https://emqx.atlassian.net/browse/EMQX-9536

Note: since GCP PubSub is not shared by any authn/authz backend,
there's no need to separate its connector into another app.
2023-04-19 13:24:32 -03:00
firest e89f4d4565 fix(dynamo): fix terminology erros
- Changed `username` to `aws_access_key_id`
- Changed `password` to `aws_secret_access_key`
2023-04-19 16:26:42 +08:00
firest bc353b0a06 fix(dynamo): change `database` to `table` in the schema of the DynamoDB bridge
there is no term like `database` in DynamoDB, the correct concept should be `table`
2023-04-19 15:56:29 +08:00
Zaiming (Stone) Shi 6c352fd525 docs: update config docs 2023-04-18 19:18:27 +02:00
Zaiming (Stone) Shi 9a4af6bd76 docs: update config docs 2023-04-18 19:15:40 +02:00
某文 3cd9ca7067 chore: change config seq 2023-04-18 21:10:40 +08:00
Zhongwen Deng e3d6fa1f21 chore: update config's changelog and emqx_conf.template 2023-04-18 20:13:44 +08:00
Zaiming (Stone) Shi 48d8381a6d docs: update doc refs 2023-04-18 09:48:28 +02:00
Thales Macedo Garitezi 9d15247dd5 feat(schema_registry): add support for protobuf schemas
Fixes https://emqx.atlassian.net/browse/EMQX-9470
2023-04-17 13:04:54 -03:00
Zaiming (Stone) Shi b9a43ead39 refactor: Split i18n files 2023-04-17 13:35:33 +02:00
firest 02f8d073f8 test(limiter): fix test errors and make spellcheck happy 2023-04-17 10:06:43 +08:00
firest 55376144ce fix(limiter): simplify the configuration of the limiter 2023-04-17 10:06:36 +08:00
Thales Macedo Garitezi 3373a63137
docs: improve descriptions
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2023-04-14 13:21:30 -03:00
Thales Macedo Garitezi e073bc90bc refactor(buffer_worker): rename `s/queue/buffer/g` 2023-04-14 11:37:19 -03:00
Thales Macedo Garitezi dd38122797 docs: improve descriptions
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2023-04-14 11:37:19 -03:00
Thales Macedo Garitezi 14ed4a7ada feat(buffer_worker): set default queue mode to `memory_only`
Fixes https://emqx.atlassian.net/browse/EMQX-9367

For better user experience and performance for the average bridge, we
should change the default queue mode to `memory_only`, as was the
behavior of most bridges in e4.x.  This leads to better performance
when message rate is high enough and the remote resource is not
keeping up with EMQX.

Also, we set the default segment size to equal max queue bytes.
2023-04-14 11:37:19 -03:00
JimMoen 06b1ec862e
fix: hocon label field 2023-04-14 12:43:29 +08:00
JimMoen 35ab1c0190
style: make hocon style check and spellcheck happy
- with more human readable i18n style check format
2023-04-14 10:02:47 +08:00
JimMoen 5841969877
feat: implement Microsoft SQL Server bridge (e5.0) 2023-04-14 10:02:45 +08:00
Ilya Averyanov 92ff2b7d6e feat(ft): make timeouts configurable 2023-04-14 01:58:14 +03:00
Thales Macedo Garitezi 9acfe00498
Merge pull request #10347 from thalesmg/refactor-kafka-bridge-dirs-v50
refactor(kafka_bridge): move kafka bridge into its own app
2023-04-13 13:26:36 -03:00
JianBo He 993be31998
chore: update rel/i18n/emqx_conf_schema.hocon
Co-authored-by: LenaLenaPan <120552185+LenaLenaPan@users.noreply.github.com>
2023-04-13 18:12:17 +08:00
JianBo He b57b964083 chore(i18n): improve config desc 2023-04-13 11:15:36 +08:00
Thales Macedo Garitezi 871ee90b3e refactor(kafka_bridge): move kafka bridge into its own app
Fixes https://emqx.atlassian.net/browse/EMQX-9481
2023-04-12 13:54:45 -03:00
Ivan Dyachkov bdffa925db chore: merge upstream/master release-50 2023-04-12 15:30:20 +02:00
Stefan Strigler f668ad7b9e
Merge pull request #10336 from sstrigler/EMQX-8507-rule-engine-need-a-new-api-to-crud-rule-engines-setting-configs
feat: add `/rule_engine` API endpoint
2023-04-12 11:44:42 +02:00
Thales Macedo Garitezi 914184697e
Merge pull request #10337 from thalesmg/schema-registry-v50
feat: implement schema registry for 5.0 (avro)
2023-04-11 16:46:27 -03:00
Stefan Strigler e282d361f8
style: fix Chinese translations
Co-authored-by: LenaLenaPan <120552185+LenaLenaPan@users.noreply.github.com>
2023-04-11 09:34:51 +02:00
Andrew Mayorov 37a520d797
fix(i18n): relocate i18n files to rel/i18n 2023-04-10 16:02:34 +03:00
Thales Macedo Garitezi 33100ecca6 feat: implement schema registry for 5.0 (avro)
Part of https://emqx.atlassian.net/browse/EMQX-9251

This ports part of the Schema Registry app from 4.x to 5.0.  Here,
only support for Avro is added.  Subsequent PRs will follow to add
support for other formats.
2023-04-06 16:28:45 -03:00
JianBo He 702ecbcb6e Merge remote-tracking branch 'upstream/master' into refactor-gw-dir 2023-04-06 10:44:59 +08:00
Stefan Strigler 576d1524bb style: fix wording of i18n files 2023-04-05 16:29:17 +02:00
Stefan Strigler aea870f319 feat: add `/rule_engine` API endpoint 2023-04-05 15:19:31 +02:00
Zaiming (Stone) Shi a9bf633e03
Merge pull request #10320 from zmstone/0403-sync-release-50-back-to-master
0403 sync release 50 back to master
2023-04-04 23:31:24 +02:00
Zaiming (Stone) Shi 429b3d9efd Merge remote-tracking branch 'origin/master' into 0403-sync-release-50-back-to-master 2023-04-03 20:32:33 +02:00
Thales Macedo Garitezi f3ffc02bff feat(bridges): enable async query mode for all bridges with buffer workers
Fixes https://emqx.atlassian.net/browse/EMQX-9130

Since buffer workers always support async calls ("outer calls"), we
should decouple those two call modes (inner and outer), and avoid
exposing the inner call configuration to user to avoid complexity.

For bridges that currently only allow sync query modes, we should
allow them to be configured with async.  That means basically all
bridge types except Kafka Producer.
2023-04-03 14:49:51 -03:00
Zaiming (Stone) Shi 5f6d318cf0 fix(i18n): fix missing docs for gateway configs 2023-04-03 13:12:24 +02:00
Zaiming (Stone) Shi c17de6c415 docs: fix i18n desc style 2023-04-03 13:12:24 +02:00
Zaiming (Stone) Shi 36000abf51 refactor: relocate i18n files for apps/emqx 2023-04-03 13:12:24 +02:00
Zaiming (Stone) Shi 4d28731176 docs: delete local-override.conf from config template 2023-03-24 08:37:00 +01:00
firest 6f3e952edf fix(psk): add new supported ciphers to the conf template 2022-12-20 22:40:49 +08:00
Zaiming (Stone) Shi 4cadb86b18 docs: fix typos 2022-10-27 20:09:31 +02:00
Zaiming (Stone) Shi c157392452 docs: fix self-closing html tag, change </br> to <br/> 2022-10-27 13:57:18 +02:00
Zaiming (Stone) Shi a314950be9 docs: fix zh punctuations 2022-10-26 16:19:38 +02:00
Zaiming (Stone) Shi cf76267155 docs: add a string value quote example 2022-09-27 09:02:49 +02:00
Zaiming (Stone) Shi 9bd9e2ecd8 feat: add EMQX_LOG_DIR env 2022-09-16 09:49:55 +08:00
Zaiming (Stone) Shi ac840e318e refactor(cookie): Warning message when boot with default Erlang cookie 2022-09-06 18:58:35 +02:00
Zhongwen Deng 29f9258595 chore: update RUNNER_LOG_DIR 2022-09-05 17:36:35 +08:00
zhongwencool 1819b7e224
chore: update rel/emqx_vars
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2022-09-05 17:34:29 +08:00
Zhongwen Deng e35957af0b chore: add some warning to emqx_vars 2022-09-05 16:12:40 +08:00
Zhongwen Deng 63281e5491 feat: don't override env RUNNER_LOG_DIR in emqx_vars 2022-09-05 16:10:51 +08:00
Zaiming (Stone) Shi 8717535d32 refactor: populate ciphers list at runtime
Populating ciphers list when checking schema makes the
config file example and the schmea documents quite bloated
2022-08-24 21:02:21 +02:00
Zaiming (Stone) Shi 22f5b62531 docs: add default ciphers to document config 2022-08-24 21:02:21 +02:00
Zaiming Shi a548b82bc9 docs: add zh version config doc template 2022-06-28 22:34:24 +02:00
Zaiming (Stone) Shi 4fdd793071 refactor: move config template file to rel dir 2022-06-12 19:57:08 +02:00
Zaiming (Stone) Shi 3c03c0cfc1 feat(bin/emqx): make possible to boot Erlang node from Elixir build 2022-04-13 21:55:05 +02:00
Zaiming (Stone) Shi 72405f977c refactor(bin/emqx): remove unnecessary intermediate env variables 2022-04-13 13:50:56 +02:00
Zaiming (Stone) Shi c8242816b0 refactor(bin/emqx): no need to template-render RUNNER_ROOT_DIR 2022-04-13 13:50:25 +02:00
Zaiming (Stone) Shi 32694e601a refactor: rename RUNNER_ETC_DIR to EMQX_ETC_DIR 2022-04-05 23:08:45 +02:00
Zaiming (Stone) Shi 4e64010a3b build: more structured build info 2022-03-02 21:22:03 +01:00
Zaiming (Stone) Shi e22104476a fix(data_dir): get data_dir config in the right way
now data_dir config is respected by boot script as well as
EMQX application after booted
2022-02-28 09:59:56 +01:00
Zaiming (Stone) Shi a8aa312825 fix(boot): allow user defined data_dir 2022-02-25 12:08:05 +01:00
Ilya Averyanov 64c59b5469 feat(license): check license before node start 2022-02-11 11:49:29 +03:00
Ilya Averyanov 17599432d1 feat(license): add license application 2022-02-07 19:05:47 +03:00
Zaiming (Stone) Shi a04c834d05 chore: relocate some release files from data/ to rel/
data dir at the root is easily confused with the data
dir for EMQ X at run time
2022-01-14 16:41:22 +01:00
Thales Macedo Garitezi 67cca5d3a1
chore(mix): use the same script in mix release as in rebar release
Surprisingly enough, by doing small cirurgical changes in the existing
EMQX control scripts, we are able to get it running with Elixir and
with existing functionalities (`console`, `remote_console`, `start`,
`stop`, `ctl`, `foreground`, `eval`).
2021-12-23 17:20:04 -03:00
Thales Macedo Garitezi 014b6d3cfd
chore(shellcheck): fix shellcheck linting warnings 2021-12-22 15:43:43 -03:00
Thales Macedo Garitezi 62024854e5
chore(mix): wrap produced script and set required variables
We create a shim script that calls the one produced by Mix Release,
creating and setting the required configurations.
2021-12-22 15:15:19 -03:00
Thales Macedo Garitezi 917575de5a
chore(mix): minimal elixir mix release build
This commit enables a minimal working build of EMQX release using
Mix.  However, to properly start the release, several configuration
steps are still missing.  A `mix_release.sh` script does a few hacks
to get the release built with Mix to start properly, by first assuming
that `make emqx` has been run prior to the release, ran once to
generate the `app.*.config` files, and then it copies that and some
other files to the expected places.

Also, `emqx_telemetry` hangs the start procedure because it thinks
it's in an official release and tries to make a request.  We disable
it temporarily via config just to get a working build for now.
2021-12-21 13:51:22 -03:00
Feng Lee c84598dae9 2.0 - move rel/ to emqttd-relx project 2016-07-21 18:29:04 +08:00
Feng 710890dd22 relx 2016-07-21 09:31:14 +08:00
Feng 2e200f253f 2.0 - erlang.mk to replace rebar 2016-07-19 17:46:05 +08:00
Feng 03d6710b60 gen_conf to improve the configuration of emqttd broker 2016-07-19 16:49:30 +08:00
Feng 61b2ab48ad merge emq10 2016-07-16 21:55:02 +08:00
Feng Lee 223c06fd68 fix ldap sslopts 2016-07-12 17:36:23 +08:00
Feng Lee 842df63605 merge master 2016-06-28 11:27:52 +08:00
Feng Lee 834e6f7269 Add MQTT specs. etc/vm.args: -env ERL_CRASH_DUMP log/emqttd_crash.dump 2016-06-27 09:11:09 +08:00
Feng Lee fe3becbf9b Fix issue#599 - Reject empty clientId with non-clean session 2016-06-21 11:29:59 +08:00
Feng eaf254e919 Merge branch 'master' into plus 2016-06-05 12:51:35 +08:00
Feng Lee 791c50282f Merge pull request #566 from emqtt/issue#557
load 'observer' application and fix issue #557
2016-05-25 14:20:39 +08:00
Feng Lee b0541ac18c load 'observer' application and fix issue #557 2016-05-25 14:19:25 +08:00
Feng Lee 9e9b074d84 error 2016-05-07 13:07:02 +08:00
Feng Lee c7ecc0ace0 merge emq10 2016-05-07 10:30:22 +08:00
Feng Lee 76851e58fb atom_to_list(Username) 2016-05-03 18:31:58 +08:00
Feng Lee 631609f035 ensure gen_logger started 2016-05-02 15:15:05 +08:00
Feng 0d84c7474a rm plugins 2016-04-30 10:21:53 +08:00
Feng 16fcb2997e issue#516 - The erlang '-name' requires the fully qualified host name 2016-04-19 16:14:07 +08:00
Feng e88fe8b6ae fix issue #479 2016-03-21 10:08:59 +08:00
Feng 9f3897d023 {idle_timeout, 30} and {subscription, true} 2016-03-15 01:34:01 +08:00
Feng 17f40f458f if_subsciption, async_subscribe 2016-03-14 13:21:35 +08:00
Feng c626eadad4 0.17.0 config 2016-03-11 23:46:27 +08:00
Feng faf05eb85a test cases for server, pubsub and router 2016-03-11 23:19:17 +08:00
Feng 32635af084 backend subscription 2016-03-08 13:51:21 +08:00
Feng e76f35f5c1 fix issue #445 2016-02-16 02:46:03 +08:00
Feng 928780f322 common tests 2016-02-16 02:20:29 +08:00
Feng 5cf655286a config and data for unit test 2016-02-14 01:26:39 +08:00
Feng 712baa525c rm app.config 2016-01-24 10:33:09 +08:00
Feng 97ea3623c1 simple/priority queue 2016-01-24 10:32:29 +08:00
Feng 8c81879149 simple/priority queue 2016-01-24 10:32:25 +08:00
Feng c0e3145147 add redis plugin 2016-01-21 10:40:56 +08:00
Feng 21cb2bea6e 2016 2016-01-15 13:43:22 +08:00
Feng 913d6f5ed8 default pubsub pool_size: 8 2016-01-12 14:11:18 +08:00
Feng 505864f791 format 2016-01-07 11:41:57 +08:00
Feng 5481635886 fix issue #410 - remove observer app 2015-12-17 19:59:47 +08:00
Feng d0d5090bde uncomment presence module 2015-12-17 15:18:03 +08:00
Feng 714aa4dc9d subscription 2015-12-17 12:38:48 +08:00
Feng 2dd6d160f3 format 2015-12-10 15:04:13 +08:00
Feng d1c2375f4b long_schedule 2015-12-07 22:16:17 +08:00
Feng 995949585b sysmon 2015-12-07 18:35:28 +08:00
Feng a261f3c678 emqtt log 2015-12-06 12:03:05 +08:00
Feng Lee 7a0318876e lager_emqtt_backend 2015-12-06 11:28:37 +08:00
Feng cab15324da log/emqttd_sysmon.log 2015-12-05 15:44:05 +08:00
Feng 812779004f new pubsub 2015-12-04 17:36:09 +08:00
Feng d6cf52fc70 route_delay 2015-12-03 22:36:44 +08:00
Feng 80117c1e8a rewrite pubsub, router 2015-12-03 12:56:13 +08:00
Feng 16f23406a4 0.14 2015-12-02 18:01:26 +08:00
Oliver Bollmann 3360b2f8e7 plugins cmd space in filename 2015-11-26 17:42:50 +01:00
Feng Lee 9c30d37c67 connopts 2015-11-07 12:08:40 +08:00
Feng 8491467bbb support 'and', 'or' 2015-11-04 21:42:17 +08:00
Feng a50df24aab 100 2015-11-02 15:32:06 +08:00
Feng 8d9270a6ba 48 2015-10-29 21:46:17 +08:00
Feng 4698856215 connopts, ratelimit 2015-10-29 21:46:06 +08:00
Feng 9a590b2f39 rate limit 2015-10-26 09:19:32 +08:00
Feng 676aa3cb71 order of sockopts 2015-10-23 18:05:08 +08:00
Feng 698d096cae +zdbbl 2015-10-23 17:54:31 +08:00
Feng 61a6818767 fix spelling error 2015-10-16 14:19:20 +08:00
Feng Lee 7a93f4b2a3 order 2015-10-12 21:20:24 +08:00
Feng fc9f894aa1 sysmon 2015-10-12 21:05:23 +08:00
Feng 9571143e41 idle_timeout 20 2015-10-11 04:09:10 +08:00
Feng 5977c44996 fix issue #182 - etained message expiration 2015-10-10 00:04:07 +08:00
Feng Lee 852e05b2a8 60 secs 2015-10-08 22:45:44 +08:00
Feng b270399ec7 production config as default 2015-10-07 22:54:25 +08:00
Feng 9f643ea267 50 lines 2015-10-04 19:44:14 +08:00
Feng 4e5b499aa7 tab 2015-10-03 15:45:04 +08:00
Feng 1fc79bd9a1 runtime_tools 2015-10-03 15:44:23 +08:00
Feng aec571a0b0 etop 2015-10-03 15:43:28 +08:00
Feng 30126e3a72 src/emqttd_cm.erl 2015-10-01 11:20:58 +08:00
Feng Lee 26c371dff8 cli 2015-09-30 03:06:45 +08:00
Feng Lee b501ddf43c retry_interval 2015-09-29 12:11:29 +08:00
Feng Lee f15e8bc630 print ack timout 2015-09-29 12:10:55 +08:00
Feng 23062abbb4 retry interval, and idle_timeout 2015-09-29 10:08:52 +08:00
Feng Lee d6c6da3002 development 2015-09-25 22:32:12 +08:00
Feng Lee b609d16bf2 fix issue #310 2015-09-24 22:36:39 +08:00
Feng Lee 859ec60acc devlopment, production 2015-09-23 23:00:41 +08:00
Feng Lee a79478e589 production, development config 2015-09-23 22:59:16 +08:00
Feng Lee 7186ba2a21 rm io:format 2015-09-20 21:59:44 +08:00
Feng Lee 8900f0561b rel all deps/* 2015-09-20 21:21:54 +08:00