We are working on developing a Jira Data Center Plugin where we are fetching the data from the third-party platform using REST API and based on the response we are creating the Jira ticket.
We have one Streaming rest API of the third-party platform which requires opening one HTTP connection and the platform would keep sending the data whenever new data is available. Can we use this API in our plugin to create a long-running process that would open one HTTP connection to keep listening to the streaming data being sent by the API and create the Jira tickets?
If we add implementation in our plugin to use this API by the long-running process which ideally should never end, will there be any problems during the Data Center APp approval process when we list the App in the Atlassian marketplace?