You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/03/31 21:55:00 UTC

[jira] [Work logged] (CAMEL-12323) camel-spark-rest - Avoid singleton spark instance

     [ https://issues.apache.org/jira/browse/CAMEL-12323?focusedWorklogId=221036&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-221036 ]

ASF GitHub Bot logged work on CAMEL-12323:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/Mar/19 21:54
            Start Date: 31/Mar/19 21:54
    Worklog Time Spent: 10m 
      Work Description: betoflowv93 commented on pull request #2850: CAMEL-12323 - camel-spark-rest - Avoid singleton spark instance
URL: https://github.com/apache/camel/pull/2850
 
 
   This PR aims to solve [CAMEL-12323](https://issues.apache.org/jira/browse/CAMEL-12323) :
   
   - An instance of Spark is created using Service.ignite() in the component.
   - The classes SparkEndpoint and SparkConsumer use that instance instead of the Spark singleton.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 221036)
            Time Spent: 10m
    Remaining Estimate: 0h

> camel-spark-rest - Avoid singleton spark instance
> -------------------------------------------------
>
>                 Key: CAMEL-12323
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12323
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Claus Ibsen
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Instead of using singleton Spark we can use Service.ignite() that can create an instance. We can then better control that lifecycle. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)