Skip to content

Commit

Permalink
chore(deps): bump lua-resty-events from 0.2.1 to 0.3.0
Browse files Browse the repository at this point in the history
- [style(lib/compat): update module version](Kong/lua-resty-events#57)
- [tests(*): use resty.events.new correctly as documented](Kong/lua-resty-events#59)
- [feat(protocol): send worker info (id and pid) to broker](Kong/lua-resty-events#54)
- [fix(*): option validation of broker id](Kong/lua-resty-events#62)
- [fix(broker): worker id based queues](Kong/lua-resty-events#60)
- [chore(worker): actively close connection to broker on error](Kong/lua-resty-events#63)
- [fix(*): retain events on send failures](Kong/lua-resty-events#61)

Signed-off-by: Aapo Talvensaari <[email protected]>
  • Loading branch information
bungle committed Jun 20, 2024
1 parent 31dc3ac commit 4bcc3c2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .requirements
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ LIBEXPAT=2.5.0

LUA_KONG_NGINX_MODULE=4fbc3ddc7dcbc706ed286b95344f3cb6da17e637 # 0.8.0
LUA_RESTY_LMDB=951926f20b674a0622236a0e331b359df1c02d9b # 1.3.0
LUA_RESTY_EVENTS=8448a92cec36ac04ea522e78f6496ba03c9b1fd8 # 0.2.0
LUA_RESTY_EVENTS=2dcd1d7a256c53103c0fdbe804f419174e0ea8ba # 0.3.0
LUA_RESTY_WEBSOCKET=60eafc3d7153bceb16e6327074e0afc3d94b1316 # 0.4.0
ATC_ROUTER=1abb9286947b70b4e302d8df953961c1280a0289 # 1.6.0

Expand Down
3 changes: 3 additions & 0 deletions changelog/unreleased/kong/bump-lua-resty-events.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
message: "Bumped lua-resty-events to 0.3.0"
type: dependency
scope: Core
3 changes: 3 additions & 0 deletions kong/global.lua
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ function _GLOBAL.init_worker_events()
listening = listening, -- unix socket for broker listening
max_queue_len = 1024 * 50, -- max queue len for events buffering
max_payload_len = max_payload_len, -- max payload size in bytes
enable_privileged_agent = configuration and configuration.dedicated_config_processing
and configuration.role == "data_plane"
or false
}

worker_events = require "resty.events.compat"
Expand Down

0 comments on commit 4bcc3c2

Please sign in to comment.