Kong plugins
Overview of Kong plugins and their three scopes: global, route and service.
ต้องเข้าใจภาพรวมก่อน
ใน Kong API Gateway จะใช้ plugin ได้ 3 ระดับ
- ระดับ Global คือ setup ทีเดียวมีผลกับทุก services เลย
- ระดับ Route คือ setup plugins เฉพาะ route นั้นๆ
- ระดับ Service คือ setup plugins เฉพาะ service นั้นๆ
- ระดับ Consumer คือ setup plugins เฉพาะ user นั้นๆ