You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@edgent.apache.org by "Daniel John Debrunner (JIRA)" <ji...@apache.org> on 2016/04/01 20:14:25 UTC

[jira] [Commented] (QUARKS-105) Configurable number of application restarts

    [ https://issues.apache.org/jira/browse/QUARKS-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15222087#comment-15222087 ] 

Daniel John Debrunner commented on QUARKS-105:
----------------------------------------------

Any thoughts on where this is specified?

I was wondering if a config JSON object should be added to ApplicationService.registerTopology() that is configuration about how the service starts the application (not configuration of the submit itself). I was thinking of a couple of possible config items:

* autoStart - Boolean - start the application automatically when registered/provider starts
* dependentApplications - Named applications to start first

Not sure if number of restart attempts would be applicable in the same application specific config or not.

> Configurable number of application restarts
> -------------------------------------------
>
>                 Key: QUARKS-105
>                 URL: https://issues.apache.org/jira/browse/QUARKS-105
>             Project: Quarks
>          Issue Type: Sub-task
>          Components: Applications, Runtime
>            Reporter: Victor Dogaru
>              Labels: failure-recovery
>
> This configuration would allow a developer to specify the number of times the system should attempt to restart an application which had terminated because of an unhandled exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)