Skip to content

The Idempotency module for dropwizard based on DynamoDB‎ and Hazelcast

License

Notifications You must be signed in to change notification settings

plumery/dropwizard-idempotency

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dropwizard-idempotency

The Idempotency module for dropwizard based on DynamoDB‎ and Hazelcast

Example usage with Hazelcast:

IdempotencyConfiguration configuration = new IdempotencyConfiguration();
configuration.setStorageImplementation(IdempotencyConfiguration.DEFAULT_IMPLEMENTATION);
configuration.setCacheName("testing");

IdempotentProviderService providerService = IdempotencyFactory.build(configuration);
        
Response response = providerService.idempotent(idempotencyKey, new IdempotentRequestProcessor() {
    public Response process() {
        return Response.status(Response.Status.ACCEPTED).build();
    }
});

About

The Idempotency module for dropwizard based on DynamoDB‎ and Hazelcast

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages