Kong plugins

Overview of Kong plugins and their three scopes: global, route and service.

episode
ตอนที่ 6 จาก 20
read
อ่าน 1 นาที

ต้องเข้าใจภาพรวมก่อน

ใน Kong API Gateway จะใช้ plugin ได้ 3 ระดับ

  1. ระดับ Global คือ setup ทีเดียวมีผลกับทุก services เลย
  2. ระดับ Route คือ setup plugins เฉพาะ route นั้นๆ
  3. ระดับ Service คือ setup plugins เฉพาะ service นั้นๆ
  4. ระดับ Consumer คือ setup plugins เฉพาะ user นั้นๆ

Global

Route

Service