I want to write a background process in NodeJs which will process messages from a TOPIC. Reading through an array of confusing articles, there are my options
- Write a webjob in NodeJS with a continuous polling mechanism. All plumbing code has to be written by me.
- Write a webjob in NodeJS using azure-webjobs-sdk-script (which I think is basically a function wrapped under a webjob) and have the same trigger mechanism as a function and also advantage of webjob dashboard.
- Write a function in NodeJS with bindings to TOPIC.
Is my understanding of the Role of azure-webjobs-sdk-script library correct. Is it just a wrapper for functions to run under webjob. What is the differnce between this and running functions under app service plan.
I could not find any clear definition of these options.