docs: More EMQ X -> EMQX rename in descriptive strings

This commit is contained in:
Zaiming (Stone) Shi 2022-02-15 22:39:11 +01:00
parent 689ea6546e
commit 2e94880bb6
22 changed files with 68 additions and 68 deletions

View File

@ -1,7 +1,7 @@
Source code in this repository is variously licensed under below licenses.
For EMQ X Community Edition: Apache License 2.0, see APL.txt,
For EMQX Community Edition: Apache License 2.0, see APL.txt,
which applies to all source files except for lib-ee sub-directory.
For EMQ X Enterprise Edition (since version 5.0): Business Source License 1.1,
For EMQX Enterprise Edition (since version 5.0): Business Source License 1.1,
see lib-ee/BSL.txt, which applies to source code in lib-ee sub-directory.

2
NOTICE
View File

@ -1,4 +1,4 @@
EMQ X, highly scalable, highly available distributed MQTT messaging platform for IoT.
EMQX, highly scalable, highly available distributed MQTT messaging platform for IoT.
Copyright (c) 2017-2022 EMQ Technologies Co., Ltd. All Rights Reserved.
This product contains code developed at EMQ Technologies Co., Ltd.

View File

@ -1,8 +1,8 @@
# EMQ X plugins
# EMQX plugins
Starting from EMQ X 5.0, plugins are developed in independent projects.
Starting from EMQX 5.0, plugins are developed in independent projects.
This is different from EMQ X 4.3 (and later 4.x releases) for which the plugins have to
This is different from EMQX 4.3 (and later 4.x releases) for which the plugins have to
be developed inside the emqx.git umbrella project.
## Erlang

View File

@ -1,4 +1,4 @@
# Build and run EMQ X on Windows
# Build and run EMQX on Windows
NOTE: The instructions and examples are based on Windows 10.
@ -6,7 +6,7 @@ NOTE: The instructions and examples are based on Windows 10.
### Visual studio for C/C++ compile and link
EMQ X includes Erlang NIF (Native Implemented Function) components, implemented
EMQX includes Erlang NIF (Native Implemented Function) components, implemented
in C/C++. To compile and link C/C++ libraries, the easiest way is perhaps to
install Visual Studio.
@ -51,7 +51,7 @@ Eshell V11.1.4 (abort with ^G)
### bash
All EMQ X build/run scripts are either in `bash` or `escript`.
All EMQX build/run scripts are either in `bash` or `escript`.
`escript` is installed as a part of Erlang. To install a `bash`
environment in Windows, there are quite a few options.
@ -68,7 +68,7 @@ Cygwin is what we tested with.
### Other tools
Some of the unix world tools are required to build EMQ X. Including:
Some of the unix world tools are required to build EMQX. Including:
* git
* curl
@ -85,7 +85,7 @@ When using scoop:
scoop install git curl make cmake jq zip unzip
```
## Build EMQ X source code
## Build EMQX source code
* Clone the repo: `git clone https://github.com/emqx/emqx.git`
@ -113,11 +113,11 @@ scoop install git curl make cmake jq zip unzip
To fix it, Visual Studio's bin paths should be ordered prior to Cygwin's (or similar installation's)
bin paths in `Path` environment variable.
## Run EMQ X
## Run EMQX
To start EMQ X broker.
To start EMQX broker.
Execute `_build\emqx\rel\emqx>.\bin\emqx console` or `_build\emqx\rel\emqx>.\bin\emqx start` to start EMQ X.
Execute `_build\emqx\rel\emqx>.\bin\emqx console` or `_build\emqx\rel\emqx>.\bin\emqx start` to start EMQX.
Then execute `_build\emqx\rel\emqx>.\bin\emqx_ctl status` to check status.
If everything works fine, it should print out

View File

@ -1,4 +1,4 @@
EMQ X, highly scalable, highly available distributed MQTT messaging platform for IoT.
EMQX, highly scalable, highly available distributed MQTT messaging platform for IoT.
Copyright (c) 2017-2022 EMQ Technologies Co., Ltd. All Rights Reserved.
This product contains code developed at EMQ Technologies Co., Ltd.

View File

@ -1,5 +1,5 @@
######################################################################
## Erlang VM Args for EMQ X Broker
## Erlang VM Args
######################################################################
## NOTE:

View File

@ -1,5 +1,5 @@
######################################################################
## Erlang VM Args for EMQ X Edge
## Erlang VM Args
######################################################################
## NOTE:

View File

@ -1,10 +1,10 @@
EMQ X configuration file is in [HOCON](https://github.com/emqx/hocon) format.
EMQX configuration file is in [HOCON](https://github.com/emqx/hocon) format.
HOCON, or Human-Optimized Config Object Notation is a format for human-readable data,
and a superset of JSON.
## Layered
EMQ X configuration consists of 3 layers.
EMQX configuration consists of 3 layers.
From bottom up:
1. Immutable base: `emqx.conf` + `EMQX_` prefixed environment variables.<br>
@ -36,7 +36,7 @@ node.name="127.0.0.1"
node.cookie="mysecret"
```
This flat format is almost backward compatible with EMQ X's config file format
This flat format is almost backward compatible with EMQX's config file format
in 4.x series (the so called 'cuttlefish' format).
It is 'almost' compatible because the often HOCON requires strings to be quoted,
@ -51,13 +51,13 @@ For more HOCON syntax, please refer to the [specification](https://github.com/li
## Schema
To make the HOCON objects type-safe, EMQ X introduced a schema for it.
To make the HOCON objects type-safe, EMQX introduced a schema for it.
The schema defines data types, and data fields' names and metadata for config value validation
and more. In fact, this config document itself is generated from schema metadata.
### Complex Data Types
There are 4 complex data types in EMQ X's HOCON config:
There are 4 complex data types in EMQX's HOCON config:
1. Struct: Named using an unquoted string, followed by a predefined list of fields,
fields can not start with a number, and are only allowed to use
@ -85,11 +85,11 @@ There are quite some different primitive types, to name a few:
* ...
The primitive types are mostly self-describing, some are built-in, such
as `atom()`, some are defined in EMQ X modules, such as `emqx_schema:duration()`.
as `atom()`, some are defined in EMQX modules, such as `emqx_schema:duration()`.
### Config Paths
If we consider the whole EMQ X config as a tree,
If we consider the whole EMQX config as a tree,
to reference a primitive value, we can use a dot-separated names form string for
the path from the tree-root (always a Struct) down to the primitive values at tree-leaves.
@ -181,7 +181,7 @@ zone.zone1.mqtt.max_packet_size = 10M
#### Array Elements
Arrays in EMQ X config have two different representations
Arrays in EMQX config have two different representations
* list, such as: `[1, 2, 3]`
* indexed-map, such as: `{"1"=1, "2"=2, "3"=3}`

View File

@ -2,7 +2,7 @@
## 动机
在 EMQ X Broker v4.1-v4.2 中,我们发布了 2 个插件来扩展 emqx 的编程能力:
在 EMQX Broker v4.1-v4.2 中,我们发布了 2 个插件来扩展 emqx 的编程能力:
1. `emqx-extension-hook` 提供了使用 Java, Python 向 Broker 挂载钩子的功能
2. `emqx-exproto` 提供了使用 JavaPython 编写用户自定义协议接入插件的功能
@ -26,7 +26,7 @@
架构如下:
```
EMQ X
EMQX
+========================+ +========+==========+
| ExHook | | | |
| +----------------+ | gRPC | gRPC | User's |

View File

@ -1,5 +1,5 @@
##--------------------------------------------------------------------
## EMQ X Gateway configurations
## EMQX Gateway configurations
##--------------------------------------------------------------------
gateway.stomp {
@ -135,7 +135,7 @@ gateway.coap {
## The *Default QoS Level* indicator for publish request.
## This option specifies the QoS level for the CoAP Client when publishing a
## message to EMQ X PUB/SUB system, if the publish request is not carried `qos`
## message to EMQX PUB/SUB system, if the publish request is not carried `qos`
## option.
## The indicator can be set to:
## - qos0, qos1, qos2: Fixed default QoS level

View File

@ -80,42 +80,42 @@ usage() {
case "$command" in
start)
echo "Start EMQ X service in daemon mode"
echo "Start EMQX service in daemon mode"
;;
stop)
echo "Stop the running EMQ X program"
echo "Stop the running EMQX program"
;;
console)
echo "Boot up EMQ X service in an interactive Erlang or Elixir shell"
echo "Boot up EMQX service in an interactive Erlang or Elixir shell"
echo "This command needs a tty"
;;
console_clean)
echo "This command does NOT boot up the EMQ X service"
echo "This command does NOT boot up the EMQX service"
echo "It only starts an interactive Erlang or Elixir console with all the"
echo "EMQ X code available"
echo "EMQX code available"
;;
foreground)
echo "Start EMQ X in foreground mode without an interactive shell"
echo "Start EMQX in foreground mode without an interactive shell"
;;
pid)
echo "Print out EMQ X process identifier"
echo "Print out EMQX process identifier"
;;
ping)
echo "Check if the EMQ X node is up and running"
echo "Check if the EMQX node is up and running"
echo "This command exit with 0 silently if node is running"
;;
escript)
echo "Execute a escript using the Erlang runtime from EMQ X package installation"
echo "Execute a escript using the Erlang runtime from EMQX package installation"
echo "For example $REL_NAME escript /path/to/my/escript my_arg1 my_arg2"
;;
attach)
echo "This command is applicable when EMQ X is started in daemon"
echo "mode. it attaches the current shell to EMQ X's control console"
echo "This command is applicable when EMQX is started in daemon"
echo "mode. it attaches the current shell to EMQX's control console"
echo "through a named pipe"
echo "WARNING: try to use the safer alternative, remote_console command."
;;
remote_console)
echo "Start a dummy Erlang or Elixir node and hidden-connect EMQ X to"
echo "Start a dummy Erlang or Elixir node and hidden-connect EMQX to"
echo "with an interactive Erlang or Elixir shell"
;;
ertspath)
@ -123,28 +123,28 @@ usage() {
;;
rpc)
echo "Usge $REL_NAME rpc MODULE FUNCTION [ARGS, ...]"
echo "Connect to the EMQ X node and make an Erlang RPC"
echo "Connect to the EMQX node and make an Erlang RPC"
echo "This command blocks for at most 60 seconds."
echo "It exits with non-zero code in case of any RPC failure"
echo "including connection error and runtime exception"
;;
rpcterms)
echo "Usge $REL_NAME rpcterms MODULE FUNCTION [ARGS, ...]"
echo "Connect to the EMQ X node and make an Erlang RPC"
echo "Connect to the EMQX node and make an Erlang RPC"
echo "The result of the RPC call is pretty-printed as an "
echo "Erlang term"
;;
root_dir)
echo "Print EMQ X installation root dir"
echo "Print EMQX installation root dir"
;;
eval)
echo "Evaluate an Erlang or Elxir expression in the EMQ X node"
echo "Evaluate an Erlang or Elxir expression in the EMQX node"
;;
eval-erl)
echo "Evaluate an Erlang expression in the EMQ X node, even on Elixir node"
echo "Evaluate an Erlang expression in the EMQX node, even on Elixir node"
;;
versions)
echo "List installed EMQ X versions and their status"
echo "List installed EMQX versions and their status"
;;
unpack)
echo "Usage: $REL_NAME unpack [VERSION]"
@ -192,10 +192,10 @@ usage() {
echo "Usage: $REL_NAME COMMAND [help]"
echo ''
echo "Commonly used COMMANDs:"
echo " start: Start EMQ X in daemon mode"
echo " console: Start EMQ X in an interactive Erlang or Elixir shell"
echo " foreground: Start EMQ X in foreground mode without an interactive shell"
echo " stop: Stop the running EMQ X node"
echo " start: Start EMQX in daemon mode"
echo " console: Start EMQX in an interactive Erlang or Elixir shell"
echo " foreground: Start EMQX in foreground mode without an interactive shell"
echo " stop: Stop the running EMQX node"
echo " ctl: Administration commands, execute '$REL_NAME ctl help' for more details"
echo ''
echo "More:"
@ -237,7 +237,7 @@ if ! check_erlang_start >/dev/null 2>&1; then
echoerr "FATAL: Unable to start Erlang."
echoerr "Please make sure openssl-1.1.1 (libcrypto) and libncurses are installed."
echoerr "Also ensure it's running on the correct platform,"
echoerr "this EMQ X release is built for $BUILT_ON"
echoerr "this EMQX release is built for $BUILT_ON"
exit 1
fi
echoerr "WARNING: There seem to be missing dynamic libs from the OS. Using libs from ${DYNLIBS_DIR}"

View File

@ -25,7 +25,7 @@ collect() {
}
show_help() {
echo "Collect information about the EMQ X node
echo "Collect information about the EMQX node
USAGE:

4
build
View File

@ -125,7 +125,7 @@ cp_dyn_libs() {
| sort -u)
}
## Re-pack the relx assembled .tar.gz to EMQ X's package naming scheme
## Re-pack the relx assembled .tar.gz to EMQX's package naming scheme
## It assumes the .tar.gz has been built -- relies on Makefile dependency
make_tgz() {
local pkgpath="_packages/${PROFILE}"
@ -186,7 +186,7 @@ make_docker() {
## This function accepts any base docker image,
## a emqx tgz-image, and a image tag (for the image to be built),
## to build a docker image which runs EMQ X
## to build a docker image which runs EMQX
##
## Export below variables to quickly build an image
##

View File

@ -1,7 +1,7 @@
apiVersion: v2
name: emqx
icon: https://github.com/emqx.png
description: A Helm chart for EMQ X
description: A Helm chart for EMQX
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
## EMQ docker image start script
# Huang Rui <vowstar@gmail.com>
# EMQ X Team <support@emqx.io>
# EMQX Team <support@emqx.io>
## Shell setting
if [[ -n "$DEBUG" ]]; then

View File

@ -9,4 +9,4 @@ Homepage: https://www.emqx.com
Package: emqx
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: EMQ X, a distributed, massively scalable, highly extensible MQTT message broker.
Description: EMQX, a distributed, massively scalable, highly extensible MQTT message broker.

View File

@ -26,7 +26,7 @@ Requires: libatomic
%endif
%description
EMQ X, a distributed, massively scalable, highly extensible MQTT message broker.
EMQX, a distributed, massively scalable, highly extensible MQTT message broker.
%prep

View File

@ -1,7 +1,7 @@
Business Source License 1.1
Licensor: Hangzhou EMQ Technologies Co., Ltd.
Licensed Work: EMQ X Enterprise Edition
Licensed Work: EMQX Enterprise Edition
The Licensed Work is (c) 2021
Hangzhou EMQ Technologies Co., Ltd.
Additional Use Grant: Students and educators are granted right to copy,

View File

@ -1,7 +1,7 @@
%%--------------------------------------------------------------------
%% Copyright (c) 2022 EMQ Technologies Co., Ltd. All Rights Reserved.
%%
%% @doc EMQ X License Management CLI.
%% @doc EMQX License Management CLI.
%%--------------------------------------------------------------------
-ifndef(_EMQX_LICENSE_).

View File

@ -588,13 +588,13 @@ defmodule EMQXUmbrella.MixProject do
defp emqx_description(release_type, edition_type) do
case {release_type, edition_type} do
{:cloud, :enterprise} ->
"EMQ X Enterprise Edition"
"EMQX Enterprise Edition"
{:cloud, :community} ->
"EMQ X Community Edition"
"EMQX Community Edition"
{:edge, :community} ->
"EMQ X Edge Edition"
"EMQX Edge Edition"
end
end

View File

@ -15,13 +15,13 @@ set -euo pipefail
help() {
echo
echo "-h|--help: To display this usage information"
echo "--profile <PROFILE>: EMQ X profile to build, e.g. emqx, emqx-edge"
echo "--profile <PROFILE>: EMQX profile to build, e.g. emqx, emqx-edge"
echo "--pkgtype tgz|pkg: Specify which package to build, tgz for .tar.gz,"
echo " pkg for .rpm or .deb"
echo "--with-elixir: Specify if the release should be built with Elixir, "
echo " defaults to false."
echo "--arch amd64|arm64: Target arch to build the EMQ X package for"
echo "--src_dir <SRC_DIR>: EMQ X source ode in this dir, default to PWD"
echo "--arch amd64|arm64: Target arch to build the EMQX package for"
echo "--src_dir <SRC_DIR>: EMQX source ode in this dir, default to PWD"
echo "--builder <BUILDER>: Builder image to pull"
echo " E.g. ghcr.io/emqx/emqx-builder/4.4-4:24.1.5-3-debian10"
echo "--otp <OTP_VSN>: OTP version being used in the builder"

View File

@ -2,7 +2,7 @@
set -euo pipefail
## This script prints the relup upgrade base versions
## for the given EMQ X edition (specified as first arg)
## for the given EMQX edition (specified as first arg)
##
## The second argument is the current release version
## if not provided, it's taken from pkg-vsn.sh