Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): Add a new parameter worker_event_max_payload to kong.conf #11214

Merged
merged 27 commits into from
Jul 21, 2023

Commits on Jul 17, 2023

  1. With a hard-coded payload size, for some use cases like uploading a big

    OpenAPI spec in DevPortal or updating a big config entry for plugins,
    they can not work as expected. With the new parameter, the user can
    decide the payload size to meet their needs.
    
    In this PR, a new parameter, `worker_events_max_payload` is added, which
    allows to specify the payload size the `worker_events` lib can accept.
    The default size is 64k, and the max allowed to set is 16M Bytes.
    
    The corresponding PR for `worker_events` lib is [#37](Kong/lua-resty-events#37)
    
    FTI-4963
    liverpool8056 authored and chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    b0d7d33 View commit details
    Browse the repository at this point in the history
  2. add changelog entry

    liverpool8056 authored and chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    78ce2ec View commit details
    Browse the repository at this point in the history
  3. Update kong.conf.default

    Co-authored-by: Datong Sun <datong.sun@konghq.com>
    2 people authored and chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    d1395e9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8dfb46f View commit details
    Browse the repository at this point in the history
  5. correct the default value, and add an entry for bumping the version o…

    …f lua-resty-events
    liverpool8056 authored and chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    da4b72c View commit details
    Browse the repository at this point in the history
  6. 1. append PR number to the changelog entry of lua-resty-events

    2. correct the spec test
    3. style
    liverpool8056 authored and chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    05e2fcd View commit details
    Browse the repository at this point in the history
  7. Update CHANGELOG.md

    Co-authored-by: Chrono <chrono_cpp@me.com>
    liverpool8056 and chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    7ee894e View commit details
    Browse the repository at this point in the history
  8. correct test case

    liverpool8056 authored and chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    fe0bf80 View commit details
    Browse the repository at this point in the history
  9. use %d when formatting a number

    liverpool8056 authored and chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    1be86d5 View commit details
    Browse the repository at this point in the history
  10. modify test case

    liverpool8056 authored and chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    571042b View commit details
    Browse the repository at this point in the history
  11. Update spec/02-integration/07-sdk/06-worker_events_spec.lua

    Co-authored-by: Chrono <chrono_cpp@me.com>
    liverpool8056 and chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    d7d30b2 View commit details
    Browse the repository at this point in the history
  12. style

    liverpool8056 authored and chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    4ab4154 View commit details
    Browse the repository at this point in the history
  13. Update spec/02-integration/07-sdk/06-worker_events_spec.lua

    Co-authored-by: Chrono <chrono_cpp@me.com>
    liverpool8056 and chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    b2c8483 View commit details
    Browse the repository at this point in the history
  14. correct test case

    liverpool8056 authored and chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    85722e2 View commit details
    Browse the repository at this point in the history
  15. change to accurate numbers

    chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    eb4ef8c View commit details
    Browse the repository at this point in the history
  16. style lint

    chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    4958e81 View commit details
    Browse the repository at this point in the history
  17. style lint

    chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    4ba7556 View commit details
    Browse the repository at this point in the history
  18. kong.conf.default

    chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    6ffa9c6 View commit details
    Browse the repository at this point in the history
  19. clean changelog

    chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    264b361 View commit details
    Browse the repository at this point in the history
  20. log warn for config option

    chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    11e4ff5 View commit details
    Browse the repository at this point in the history
  21. tests code clean

    chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    741cf3e View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    813accf View commit details
    Browse the repository at this point in the history
  23. fix tests

    chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    33f057b View commit details
    Browse the repository at this point in the history
  24. tests code clean

    chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    e7195d9 View commit details
    Browse the repository at this point in the history
  25. tests code clean

    chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    91fe1b1 View commit details
    Browse the repository at this point in the history
  26. tests code clean

    chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    d66f2e5 View commit details
    Browse the repository at this point in the history
  27. test style clean

    chronolaw committed Jul 17, 2023
    Configuration menu
    Copy the full SHA
    aa6f79d View commit details
    Browse the repository at this point in the history