Global Plugin Execution Sequence

If multiple global plugins are created through KongClusterPlugin, then they will get executed for every request. How to define the sequence of global plugin execution like if I want to execute security plugins first followed by rate limit and logging plugins.


Plugins are executed based on their defined priorities, see Plugin Development - Implementing Custom Logic - v2.4.x | Kong - Open-Source API Management and Microservice Management

Auth plugins are given higher priority than logging/rate limiting plugins.

© 2019 Kong Inc.    Terms  •  Privacy  •  FAQ