hapifhir / hapi-fhir

🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
http://hapifhir.io
Apache License 2.0
2k stars 1.31k forks source link

Include Ability to Inject Local/Clustered Scheduler Information #3041

Open theGOTOguy opened 2 years ago

theGOTOguy commented 2 years ago

I previously tried to ask for help about this issue in the HAPI FHIR Google Group, but with no responses and my own investigation leading me to believe that this is not possible, I am filing this as a feature request. Please let me know if I'm missing something and it is fact possible without forking HAPI FHIR.

Describe the issue The ClusteredHapiScheduler offers no way to inject or override the scheduler properties in the BaseHapiScheduler. This means that we are unable to distribute complicated or long-running tasks across parallel HAPI FHIR nodes, and if a node is lost then all tasks on that node are lost as well.

Environment (please complete the following information):

Additional context I would love to see the ability to inject a generic Quartz scheduler for either local or clustered tasks.

spauljon commented 1 year ago

Can we prioritize this issue? It remains a problem in 6.2.

I was able to overcome it with a bit of spring bean magic, but it really needs:

krlz-dev commented 10 months ago

Is there any news about this?