Backend stored procedure schedulers in MongoDB database

前端 未结 1 1817
小鲜肉
小鲜肉 2021-01-23 06:53

Currently we are using apache flume framework to collect the logs from all our web applications and it will store the logs in MongoDB database table called “Raw_Data”. Now we go

相关标签:
1条回答
  • 2021-01-23 07:24

    MongoDB has stored Javascript procedures, but no scheduler.

    http://docs.mongodb.org/manual/tutorial/store-javascript-function-on-server/

    You could trigger this from a client machine using a cron job and the mongo shell. However, I strongly recommend simply running a script in Python or similar client-side scripting language. It'll be far easier to version-control and to debug than server-side Javascript.

    0 讨论(0)
提交回复
热议问题