Ivan Dyachkov
0208fc8296
chore: e5.0.2-rc.1
2023-03-24 08:55:31 +01:00
JimMoen
1574b54666
chore: refine change for merged PRs
2023-03-24 11:17:34 +08:00
Zaiming (Stone) Shi
3559003070
Merge pull request #10216 from Kinplemelon/kinple/kafka-nodelay-label
...
docs: correct the chinese label for the `socket_nodelay` field
2023-03-23 13:30:42 +01:00
Zaiming (Stone) Shi
af11fbac9b
Merge pull request #10218 from Kinplemelon/kinple/for-upgrade-dashboard
...
chore: upgrade dashboard to e1.0.5-beta.2 for ee
2023-03-23 13:30:08 +01:00
Kinplemelon
64e810956c
chore: upgrade dashboard to e1.0.5-beta.2 for ee
2023-03-23 17:59:33 +08:00
Kinplemelon
28544e62df
docs: correct the chinese label for the `socket_nodelay` field
2023-03-23 16:27:09 +08:00
Andrew Mayorov
356be81aa4
Merge pull request #10202 from keynslug/fix/EMQX-9269/bridge-list
...
fix(bridge-api): unflatten nodes' bridge lists back
2023-03-22 12:54:45 +03:00
Andrew Mayorov
af7b2215ca
fix(bridge-api): unflatten nodes' bridge lists back
...
Bridge lists were erroneously flattened in cad6492c
. This causes
bridge listing fail in emqx clusters consisting of more than 1 node.
2023-03-22 11:35:09 +03:00
Zaiming (Stone) Shi
33606fa14c
Merge pull request #10114 from zmstone/remove-metrics-in-bridge-listing
...
Remove metrics in bridge listing
2023-03-20 12:27:48 +01:00
Erik Timan
2d75c7d6d9
fix(emqx_bridge): remove metrics from non-dedicated bridge API endpoints
...
Metrics should only be exposed via the /bridges/:id/metrics endpoint,
and not in other operations such as getting the list of all bridges, or
in the response when a bridge has been created. This commit removes all
traces of metrics for the non-dedicated API endpoints.
2023-03-20 09:43:11 +01:00
zhongwencool
6a668c35db
Merge pull request #10167 from zhongwencool/fix-swagger-doc-500-crash
...
fix: swagger doc 500 crash
2023-03-19 16:28:32 +08:00
Zhongwen Deng
b529a0bce1
test: add swagger.json api test
2023-03-19 13:05:32 +08:00
Zhongwen Deng
f8573ae8d7
fix: swagger doc 500 crash
2023-03-19 12:34:06 +08:00
Ivan Dyachkov
66d8e4e1e2
Merge pull request #10139 from Rory-Z/feat/helm-support-extra-volume
...
feat(helm): helm chart support extraVolumeMounts and extraVolumes
2023-03-17 15:16:36 +00:00
Ivan Dyachkov
d9d19ac36a
Merge pull request #10161 from zmstone/0317-e5.0.2-v5.0.21-code-freeze
...
0317 e5.0.2 v5.0.21 code freeze
2023-03-17 14:21:04 +00:00
Zaiming (Stone) Shi
8519b0daa8
chore: simplify git diff command in format-changelog.sh
2023-03-17 13:53:15 +01:00
Zaiming (Stone) Shi
00b0b62fe9
Merge remote-tracking branch 'origin/master' into 0317-e5.0.2-v5.0.21-code-freeze
2023-03-17 13:44:43 +01:00
Zaiming (Stone) Shi
d5ea435e86
Merge pull request #10158 from Kinplemelon/kinple/for-upgrade-dashboard
...
chore: upgrade dashboard to e1.0.5-beta.1 for ee
2023-03-17 13:44:32 +01:00
Zaiming (Stone) Shi
d3f56cdbfa
build: fix format-changelog.sh to include only newly added files
2023-03-17 13:41:05 +01:00
Zaiming (Stone) Shi
2e762d1f50
docs: delete two change logs
...
10065 will be enabled in a future PR
10128 will have the code merged, but feature not exposed yet
2023-03-17 13:28:09 +01:00
Zaiming (Stone) Shi
149afe863f
chore: e5.0.2/v5.0.21 code freeze
2023-03-17 13:19:44 +01:00
Thales Macedo Garitezi
cf1cce011b
Merge pull request #9564 from thalesmg/kafka-source-ee50
...
feat: implement kafka consumer (ee5.0)
2023-03-17 09:04:53 -03:00
Zaiming (Stone) Shi
1bf72c4d2e
Merge pull request #10155 from zmstone/0316-build-schema-dump-per-lang
...
build: generate per-lang schema dump
2023-03-17 11:45:35 +01:00
zhongwencool
6d495223d0
Merge pull request #10157 from zhongwencool/fix-listener-create-without-limiter
...
fix: newly created listeners have no limiter restrictions
2023-03-17 17:25:08 +08:00
Kinplemelon
c47c9feff1
chore: upgrade dashboard to e1.0.5-beta.1 for ee
2023-03-17 16:23:47 +08:00
Zhongwen Deng
3c1254d873
fix: newly created listeners have no limiter restrictions
2023-03-17 14:32:42 +08:00
Zaiming (Stone) Shi
ad1deedd0e
build: generate per-lang schema dump
2023-03-16 21:25:21 +01:00
Thales Macedo Garitezi
966276127e
test: trying to make tests more stable
2023-03-16 13:43:01 -03:00
Thales Macedo Garitezi
3954b7bde2
fix(bridges): function clause when a non-ingress bridge coexists with an egress bridge
...
This was not caught by our tests because we always test bridge types
in isolation. So, if the config only contains ingress-only bridges,
the `on_message_publish` hook is never installed.
In a real system, if there are bridges of mixed types in the config,
the hook might be installed, and `emqx_bridge:get_matched_bridge_id`
would crash when iterating over the ingress bridges.
2023-03-16 13:43:01 -03:00
Thales Macedo Garitezi
0587e0d3f3
refactor(kafka_consumer): change the generated consumer group id
...
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2023-03-16 13:43:01 -03:00
Thales Macedo Garitezi
41b8d47696
test(kafka_consumer): add more clusterized tests
2023-03-16 13:43:01 -03:00
Thales Macedo Garitezi
947e014132
test: improve cluster node helpers
...
* Add option to start autocluster. This is useful for scenarios where
a cluster is already running and has some configurations set (via
config handler/cluster rpc) and later another node joins.
* Improve mnesia data directory isolation for nodes. A new dir is set
so that we may avoid intra and inter-suite flakiness due to dirty
tables and schema.
* The janitor is now called synchronously. This ensures the cleanup
is done before the test pid dies.
2023-03-16 13:43:01 -03:00
Thales Macedo Garitezi
d464e2aad5
refactor: rename test resource prefix
...
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2023-03-16 13:43:01 -03:00
Thales Macedo Garitezi
46c3305ad8
docs: improve descriptions
...
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2023-03-16 13:43:01 -03:00
Thales Macedo Garitezi
19f9c35662
docs: improve descriptions
...
Co-authored-by: Zaiming (Stone) Shi <zmstone@gmail.com>
2023-03-16 13:43:01 -03:00
Thales Macedo Garitezi
fc5dfa108a
fix(kafka_consumer): rename `force_utf8` to `none`
...
We actually enforce the key/value to be a valid UTF-8 string when
using `emqx_json:encode`, if we do encode using that, which is
template-dependent.
2023-03-16 13:43:01 -03:00
Thales Macedo Garitezi
37a35b22df
docs(kafka): improve kafka consumer/producer API examples
2023-03-16 13:43:01 -03:00
Thales Macedo Garitezi
66eb4ef069
test: fix inter-suite flakiness
2023-03-16 13:43:01 -03:00
Thales Macedo Garitezi
53979b6261
feat(kafka_consumer): support multiple topic mappings, payload
...
templates and key/value encodings
Added after feedback from the product team.
2023-03-16 13:43:01 -03:00
Thales Macedo Garitezi
f31f15e44e
chore(kafka_producer): make schema changes more backwards compatible
...
This will still require fixes to the frontend.
2023-03-16 13:43:01 -03:00
Thales Macedo Garitezi
8b1fa50413
ci(fix): fix shellsheck warning
2023-03-16 13:43:01 -03:00
Thales Macedo Garitezi
e4f058ce2a
ci(fix): create user inside container so `emqx console` works
2023-03-16 13:43:01 -03:00
Thales Macedo Garitezi
9d6af17f69
ci(fix): create and give permissions to mix directories
2023-03-16 13:43:01 -03:00
Ivan Dyachkov
a59827cc6a
chore(run.sh): prefer docker compose plugin over docker-compose
2023-03-16 13:43:01 -03:00
Ivan Dyachkov
2fe341d152
chore(run.sh): fix permissions on secrets directory
2023-03-16 13:43:01 -03:00
Ivan Dyachkov
5eaaa83b82
chore: simplify run.sh
...
- get rid of sudo
- do not change permissions of existing files
- use our own docker image to generate certs to make it working on arm
- bump kafka docker image version to have access to multiplatofrm one
2023-03-16 13:43:01 -03:00
Thales Macedo Garitezi
c182a4053e
fix(kafka_consumer): avoid leaking atoms in bridge probe API
2023-03-16 13:43:01 -03:00
Thales Macedo Garitezi
03342923b9
fix(bridge): use the same dry run prefix
...
Kafka Producer and Consumer bridges rely on this prefix for detecting
a dry run and avoid leaking atoms. At some point, this prefix was
changed, effectively disabling the check in Kafka Producer.
2023-03-16 13:43:01 -03:00
Thales Macedo Garitezi
27dfd98f46
fix(kafka): fix api methods schemas and bridge type enum
2023-03-16 13:43:01 -03:00
Thales Macedo Garitezi
fecc08bb8f
refactor(kafka_consumer): apply review suggestions
2023-03-16 13:43:01 -03:00