Use closure and also use K8 I/O