Kong: a plugin on a Route replaces the same plugin on the Service

Kong resolves one instance of each plugin per request using a fixed precedence, and the winner is used whole. Configuration is never merged, so a Route-level copy that omits a field gets the schema default, not the Service's value.

Full code & output

This topic is available to PRO members.

Sign in Create a free account

Run this yourself in the Online Java Compiler, spin up a live REST API in the API Sandbox, or practise with Java interview questions.

Published 2026-08-25