java - If Task queue failed at some queue then how can i inform to client some queue are failed -


hi using task queue saving customer in customer entity. saving 10 customer customer entity using task queue. task in queue there 10 customer. if due wrong inputs 5 customer not saved in entity , 5 customer saved in entity. how can inform these failed 5 customer information client side.

any help?

thanks in advance

there's no built-in way communicate between tasks , client side. straight forward solution query (poll) server side successful execution of tasks.

edit: if don't need let client side know, , want debug problem , see went wrong, can view logs. in developers console go monitoring >> log , search url of task. updated answer accordingly


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -