Commit Graph

442 Commits

Author SHA1 Message Date
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
Feng Lee bc88f3f7b5 rm '%mnesia' 2015-09-20 19:32:30 +08:00
Feng Lee 0e904f2d36 +Q 2015-09-18 14:45:13 +08:00
Feng Lee d072d001a2 pubsub pool_size 8 2015-09-16 22:19:42 +08:00
Feng Lee c581c59908 fix issue #291 2015-09-16 21:44:25 +08:00
Feng ecb71fd4b8 +t 2015-09-10 11:17:12 +08:00
Feng e85b837ae6 fix issue #269 - bin/emqttd Syntax error 2015-08-27 19:58:34 +08:00
Feng Lee 0e0ae4a76d Merge pull request #267 from emqtt/dev
Fix issue #257
2015-08-25 23:39:41 +08:00
Feng 20384de0ef fix issue #257 2015-08-25 23:37:13 +08:00
huangdan 307bce2e1d plugins load for windows 2015-08-24 11:33:16 +08:00
Feng Lee 786ffa2ab8 inflight 100 2015-08-15 22:31:18 +08:00
Feng Lee e874c4fa39 max queue length 100 2015-08-15 19:44:36 +08:00
Feng Lee 72751e5428 allow dashboard to subscribe 2015-08-14 10:53:01 +08:00
Feng Lee e8dbe3b378 clients, sessions 2015-08-10 12:49:12 +08:00
Feng Lee 9e51fb3b24 collect_interval 2015-08-10 12:49:03 +08:00
Feng 2d7f2383d1 shrunk bootstrap memory usage 2015-08-09 23:23:54 +08:00
Feng Lee c6ccacd990 plugins 2015-08-07 17:24:03 +08:00
Feng Lee 31a85ff0d6 etc 2015-08-07 16:40:54 +08:00
Feng Lee 6a7c940da2 plugins 2015-08-06 00:02:36 +08:00
Feng Lee 1a67a75423 rm plugins.config 2015-08-06 00:02:19 +08:00
Feng Lee 45487523af Plugin Guide 2015-08-06 00:01:00 +08:00
Feng f0109c7af7 plugin 2015-08-04 11:39:30 +08:00
Feng Lee c6c3926962 bridges start <Node> <Topic> <Options> 2015-07-25 14:15:37 +08:00
huangdan b157ed2c9a modified dashoboad Protocol Name 2015-07-17 19:35:21 +08:00
Feng d55d966b29 https 2015-07-10 10:52:24 +08:00
Feng 86cfbf8c43 https listener 2015-07-08 22:02:15 +08:00
Feng Lee ce5ca88cb6 comment 2015-06-24 01:00:21 +08:00
Feng Lee af025d5625 fix project structure 2015-06-22 16:45:10 +08:00
Feng Lee 470ac34a6d merge emqtt to emqttd app 2015-06-15 22:28:34 +08:00
Feng Lee a0f90b3ac6 upgrade session 2015-06-14 19:24:03 +08:00
Feng Lee 9c666cef70 merge session 2015-06-13 12:09:08 +08:00
Feng ddf831f361 session 2015-06-12 17:24:08 +08:00
Feng Lee 517c7eb7b6 session upgrade 2015-06-11 23:34:53 +08:00
Feng f857f1ec19 new session 2015-06-11 12:15:20 +08:00
Feng f69b6270fb zenmq 2015-06-11 12:08:18 +08:00
Feng 4c906b19ae new session 2015-06-11 12:07:44 +08:00
Feng Lee 63933d891a Merge branch 'master' into dev 2015-06-11 00:06:01 +08:00
Feng Lee 50d65897ce session, queue config 2015-06-11 00:02:45 +08:00
Feng 553fb394f3 vsn 'git' 2015-06-09 11:57:44 +08:00
Feng Lee f0583a1c29 0.8.4 2015-06-08 23:34:09 +08:00
Feng 0407d902d6 Merge branch 'master' into dev 2015-06-05 18:35:10 +08:00
Feng be0adc14c3 , 2015-06-05 11:22:49 +08:00
Feng Lee ead7b23330 0.8.3 2015-06-03 23:50:31 +08:00
Feng Lee 4309f0a239 fix 2015-06-03 23:02:46 +08:00
Feng Lee 95e530758b rm 'h' 2015-06-03 22:59:29 +08:00
Feng Lee 0044514a87 rename 'users_table' plugin config to 'user_table': 2015-06-02 15:29:53 +08:00
Feng Lee ebad80d690 Merge branch 'master' into dev 2015-06-02 12:56:13 +08:00
Feng Lee 5a75e59dd1 fix mysql auth error 2015-06-02 12:52:40 +08:00
Feng Lee f3dbb7ba54 0.8.2 2015-06-01 17:45:45 +08:00
Feng Lee 73cb2389d9 add 'sys' flag for mqtt_message 2015-05-31 11:38:26 +08:00
Feng Lee 37a89c3a44 allow all for websocket 2015-05-29 16:07:43 +08:00
Feng Lee d1ae443650 0.8.1 2015-05-29 16:05:17 +08:00
Feng Lee 5a2dfd2a10 presence and misc fix 2015-05-29 09:54:51 +08:00
Feng Lee 230a348f51 0.9.0 2015-05-29 00:53:47 +08:00
Feng Lee 2b19f12e25 ldap 2015-05-28 01:27:22 +08:00
Feng Lee 4f83c40b62 eldap 2015-05-28 01:26:40 +08:00
Feng Lee c383602783 {incl_cond, exclude} 2015-05-28 00:30:55 +08:00
Feng Lee b94fd7ffd6 mod presence 2015-05-27 15:32:49 +08:00
Feng Lee 88f836c9a1 comment rewrite... 2015-05-25 11:35:01 +08:00
Feng Lee 28edb239bb comment rewrite 2015-05-25 11:26:01 +08:00
Feng Lee c2d4a60dec is_mod_enabled 2015-05-24 21:54:36 +08:00
Feng Lee ced7acbf1c rewrite 2015-05-24 18:34:54 +08:00
Feng Lee d19805b68c mod rewrite 2015-05-24 18:33:53 +08:00
Feng Lee 74024acd01 broker hooks 2015-05-24 15:28:56 +08:00
Feng Lee c865fd2b6e mv 'forced_subscriptions' option to {mqtt, {client, ... 2015-05-23 00:20:23 +08:00
Feng Lee 05297e49cf max_payload_size 2015-05-22 20:46:41 +08:00
Feng Lee 2f5d0306d3 ldap plugin 2015-05-12 10:41:29 +08:00
Feng Lee c6e9238879 dashboard 2015-05-08 11:14:18 +08:00
Feng Lee a597d2ab6a comment mysql plugins 2015-05-06 10:23:16 +08:00
Feng Lee 897d38c264 start mysql auth plugin 2015-05-06 02:06:26 +08:00
Feng Lee 955d9c4ef8 fixe issue #111 - forced subscriptions 2015-05-06 01:58:17 +08:00
Feng Lee 435ae67f2d Merge branch 'plugins' into issue#111 2015-05-05 15:31:23 +08:00
huangdan 90b0835950 Merge branch 'dev' of github.com:emqtt/emqttd into dev 2015-05-05 12:25:51 +08:00
Feng Lee bbd99ed8c1 mysql plugin 2015-05-05 11:11:27 +08:00
Feng Lee 11c4d24aff emysql 2015-05-05 01:20:27 +08:00
huangdan c30ffa395d Merge branch 'dev-hd' 2015-05-04 21:31:23 +08:00
huangdan de6627ced5 modify config file path 2015-05-04 11:30:14 +08:00