How to Write an API Gateway Plugin in Java
summary
Shows how to build a working custom plugin for Apache APISIX using Apache APISIX plus the Java Plugin Runner and a Spring Boot process communicating over Unix domain sockets, demonstrating a token validator plugin that extracts JWTs, calls a validation service, and gates routing to an upstream. Notes that APISIX ships >100 built‑in plugins, supports hot reloading (checks updates every second), uses etcd for control plane storage, and the Java runner runs as a subprocess (demoed end-to-end with Docker).
AI-written summary · about
chapters (8)
- 0:00Introduction to API Gateway plugins
- 3:15Why API Gateways matter
- 6:51Overview of Apache API6
- 10:51Multi-language plugin support
- 13:20Setting up Java plugin Runner
- 17:58Demo: Token validator plugin
- 23:20Future of API6 plugins
- 25:05Key takeaways and Q&A
related talks
26mImplementing a DevOps-friendly API Architecture with Apache APISIX
35mAPISIX, an API Gateway the Apache way
42mAPI Gateways - The Good, the Bad and the Ugly
26mAsyncAPI Full Code Generation for Java with ZenWave SDK
42mApache Sling as a microservices gateway
50mHexagonal Architecture in Practice, Live Coding That Will Make Your Applications More Sustainable
46mBuilding a JVM-Based Cloud Native API Gateway
59m5 tips to make your Java apps more awesome. Non-functional Requirements Exemplified
