As described in Quarkus JBeret documentation, it is possible to use in-memory
or jdbc
as values forquarkus.jberet.repository
. I can see corresponding io.quarkiverse.jberet.runtime.JBeretInMemoryJobRepositoryProducer
and io.quarkiverse.jberet.runtime.JBeretJdbcJobRepositoryProducer
classes.
I would like to implement my own DynamoDB JobRepository and plug it in JBeret. Is it possible to plug a custom JobRepository in JBeret?
I can see InfinispanRepository and MongoRepository exists (but not available in Quarkus). Is it possible to implement a DynamoDB based JobRepository?
As of Quarkus JBeret 2.0.1, it's not possible for 2 reasons:
org.jberet.repository.AbstractPersistentRepository
class is not designed to be extended: abstract methods are package-protected and can not be overriden outside oforg.jberet.repository
package.