|
|
1 year atrás | |
|---|---|---|
| .. | ||
| etc | ce3ec351c7 chore: remove unused conf comments | 2 years atrás |
| src | 7ca5205f3f feat: add `peername` to rule events that already have `peerhost` | 1 year atrás |
| test | c04e93838f test(eviction agent): attempt to stabilize flaky test | 1 year atrás |
| BSL.txt | 82403167c2 chore: update BSL license change date | 2 years atrás |
| README.md | 8d83dc12e7 chore(rebalance): move apps from lib-ee, add READMEs | 2 years atrás |
| mix.exs | 19f3b030f9 chore: preparing to run common tests / eunit with mix | 1 year atrás |
| rebar.config | 5e100f52b8 style: erlfmt all `rebar.config` files and `bin/nodetool` | 2 years atrás |
emqx_eviction_agent is a part of the node evacuation/node rebalance feature in EMQX.
It is a low-level application that encapsulates working with actual MQTT connections.
emqx_eviction_agent application:
The emqx_eviction_agent is relatively passive and has no eviction/rebalancing logic. It allows
emqx_node_rebalance to perform eviction/rebalancing operations using high-level API, without having to deal with
MQTT connections directly.
emqx_eviction_agent interacts with the following EMQX components:
emqx_cm - to get the list of active MQTT connections;emqx_hooks subsystem - to block/unblock incoming connections;emqx_channel and the corresponding connection modules to perform the eviction.The application provided a very simple API (CLI and HTTP) to inspect the current blocking status.
The rebalancing concept is described in the corresponding EIP.
Please see our contributing.md.