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
### Summary

- [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 19, 2024
1 parent e8080e5 commit 5a443c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .requirements
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ LIBEXPAT_SHA256=d4cf38d26e21a56654ffe4acd9cd5481164619626802328506a2869afab29ab3

LUA_KONG_NGINX_MODULE=a8411f7cf4289049f0bd3e8e40088e7256389ed3 # 0.11.0
LUA_RESTY_LMDB=7d2581cbe30cde18a8482d820c227ca0845c0ded # 1.4.2
LUA_RESTY_EVENTS=21d152d42ace72e1d51b782ca6827b851cd6a1d4 # 0.2.1
LUA_RESTY_EVENTS=2dcd1d7a256c53103c0fdbe804f419174e0ea8ba # 0.3.0
LUA_RESTY_WEBSOCKET=966c69c39f03029b9b42ec0f8e55aaed7d6eebc0 # 0.4.0.1
ATC_ROUTER=ffd11db657115769bf94f0c4f915f98300bc26b6 # 1.6.2
SNAPPY=23b3286820105438c5dbb9bc22f1bb85c5812c8a # 1.2.0
Expand Down
2 changes: 1 addition & 1 deletion changelog/unreleased/kong/bump-lua-resty-events.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
message: "Bumped lua-resty-events to 0.2.1"
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 5a443c7

Please sign in to comment.