How to develop custom plugin with Lua?

Hi everyone!
Currently, i am learning how to make a custom plugin with Lua. I choosing Lua because i think it’s have more references than another language and it will fit with Kong system.
But now i found not much document or video about this.
So anyone who have experience in develop custom plugin, please tell me how i could start to make my own plugin!

These 2 videos can get you started on the flow of plugins.


Thanks for posting the videos. I just got started with Kong this week at work to see how it will fit in with our goals. Understanding how to extend Kong functionality with plugins will be beneficial.