Hello, Team.
Our project has Time report feature, which is used to fetch tracked time by users. Time records (Worklogs, in case of Jira) are fetched from multiple Sources:
It is too resource-intensive to bypass all Sources when fetching Time report. Another functionality is built on the described one. Code quality also suffers. And multithreading is required, which I would like to avoid.
Our solution of data distribution problem was to put together data from all integrated Sources. Data extracted using Flink, and sinked to Elasticsearch using Continuous Query. Then Time records can be easily fetched using Elasticsearch Client.
For now we collected data of System, Redmine, and few other sources, and i am looking for a way to put data from Jira into Elasticsearch and keep it up to date.
My question is how best to do this. Can I somehow connect to Jira database to capture data changes using default Flink connectors (Debezium)? I am familiar with Jira REST API and Webhooks, but it looks a little cumbersome for this purpose.