-
Feature Request
-
Resolution: Won't Fix
-
L3 - Default
-
None
-
None
User Story (Required on creation):
- I want to fetch available external tasks regardless of their topic name, so I can build a general broker that redistributes the locked tasks, for example via Kafka
- I want to fetch available external tasks based on only a certain fixed part of a topic name. The topics also contain a dynamic part that is not relevant for the worker at the time the tasks are fetched but only when they are worked on.
Functional Requirements (Required before implementation):
- I can fetch external tasks regardless of the topic (either by providing a wildcard topic name, by specifying no topic at all, or by using an "allTopics" option)
- I can fetch external tasks based on a partial topic name including wildcards
- Code example:
List<LockedExternalTask> tasks = externalTaskService .fetchAndLock(10, "worker") .topic("*", 30000L) .execute();
Technical Requirements (Required before implementation):
- Either
- Allow passing a wildcard character or expression as the topic name, for example: "*" to query for all topics
- Add a new query option "topicLike" that allows passing a wildcard character or expression as the topic name, for example: "*" to query for all topics