Re: [I] Ability to use timezones when using quartz component and CronJob strategy [camel-k]
squakez closed issue #5121: Ability to use timezones when using quartz component and CronJob strategy URL: https://github.com/apache/camel-k/issues/5121 -- 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. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] Ability to use timezones when using quartz component and CronJob strategy [camel-k]
squakez commented on issue #5121: URL: https://github.com/apache/camel-k/issues/5121#issuecomment-2039587808 #5090 was dropped in favor of moving the logic directly in the runtime, eventually. I think for the time being this can be developed on Camel K side while the runtimes are not fully available. @lsergio are you planning to work on this by any chance? -- 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. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
Re: [I] Ability to use timezones when using quartz component and CronJob strategy [camel-k]
squakez commented on issue #5121: URL: https://github.com/apache/camel-k/issues/5121#issuecomment-1917085470 We can include the parameter in the trait configuration and let the user configure it. I'm about to rework the cron runtime in #5090 so we may have a look at this once that development is over. -- 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. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org
[I] Ability to use timezones when using quartz component and CronJob strategy [camel-k]
lsergio opened a new issue, #5121: URL: https://github.com/apache/camel-k/issues/5121 ### Requirement Consider the scenario where I set up an Integration with the following endpoint: `from("quartz://groupName/timerName?cron=* 10-12 * * *&trigger.timeZone=America/Sao_Paulo")` This is supposed to run everyday from 10 to noon on Sao Paulo timezone. As I create the integration in my cluster, it will create a CronJob with the 10-12 schedule. However, CronJobs run on the k8s node timezone, which in my case is UTC. So the integration would run with a 3-hours offset. ### Problem I would like to have my end users select the timezone they wish to run theirs jobs, but with the limitation I will either force them to use UTC, or configure my cron trait with `fallback: true` to support timezone. Using `fallback: true`, however, keeps the integration pod running all the time, which may waste resources. ### Proposal Since Kubernetes 1.27, CronJobs support timezone configuration in their spec, so I think we can extract that info from the quartz endpoint and use it to build the CronJob. ### Open questions _No response_ -- 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. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org