Get state of single item, with validating state of Item
Get state of single item, with validating state of Item
Get items from collection of ids that:
+ were processed by preprocessor
application
+ were NOT yet processed by specified application
+ match predicate
function
+ not in "blocked" or "failed" state
Get items from collection of ids that:
+ were processed by preprocessor
application
+ were NOT yet processed by specified application
+ match predicate
function
+ not in "blocked" or "failed" state
filter function to get only valid Item
s,
e.g. containing particular payload
Apply Process
function to all items unprocessed by app
For each item, lock will be held.
Apply Process
function to all items unprocessed by app
For each item, lock will be held. If any of items already holding a lock,
function breaks immediately
Acquire lock, apply processing function and write its result back to manifest
Acquire lock, apply processing function and write its result back to manifest
Similar to processItem
, but works without existing Item
,
instead it creates new one itself or queries it by known id
Should be used when app
is both adding item to manifest
and processes it straight afterwards
Similar to processItem
, but works without existing Item
,
instead it creates new one itself or queries it by known id
Should be used when app
is both adding item to manifest
and processes it straight afterwards
new item id, which should be either fetched or created
application doing discovering and processing
optional payload that will be added as part of Processing
,
can be e.g. notification that app
started to process it
with some special configuration (cross-batch dedupe enabled)
Process that does not expect existing item
Add an atomic record to manifest
Add an atomic record to manifest
Get ids of items that were processed by processedBy
and NOT processed by application
Most common kind of query for Processing Manifest.
Get ids of items that were processed by processedBy
and NOT processed by application
Most common kind of query for Processing Manifest.
Get full manifest
Get full manifest
Manifest implementation keeping all records in
State
monad. IO in type-signature should be ignored as required only byfs2.Stream#compile
Use for tests only!