cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Background Job Service - Asynchronous in BTP using Java

idefix
Participant
0 Likes
983

Hi,


I'm trying to build table export function and data synchronisation. I think the best way is to use background job (asynchronous Task)

In Java, I think we can use CompletableFuture.runAsync. Is this the best practice in BTP? Is there any service in BTP?

Something like redis and sidekiq. add the jobs in queue and execute each job.

Thank you.

View Entire Topic
former_member194549
Contributor
0 Likes

Hi edwin_sendjaja34,
since I don't know which use case you want to cover exactly, here are a few thoughts:

If the export is to be triggered from a UI5 app, UI5 already provides functionality to export data here. Both an OData service and a REST service (JSON format) can be used here.

The Job Scheduler service can be used for the scheduled execution of batch jobs. This triggers defined jobs based on specified intervals, which can be executed in the background.

Redis is now also available as a hyperscaler option in the SAP BTP. In general, however, you can also bring along any other service, e.g. from AWS, Azure or GCP, and integrate it via a user-provided service (Link1, Link2).

Regards
Simon