aerospike / aerospike-client-java

Aerospike Java Client Library
Other
236 stars 212 forks source link

Add RetryListener listener to Policy #114

Closed kptfh closed 2 years ago

kptfh commented 6 years ago

Add RetryListener (as in Spring's RetryTemplate) to Policy so we can collect and monitor retry metrics

kptfh commented 6 years ago

Also it may be useful for not idempotent operation to introduce compensation action

BrianNichols commented 6 years ago

No promises about the request, but it would help to explain "not idempotent operation to introduce compensation action" in more detail.

echatman-ias commented 1 year ago

I don't see a RetryListener or any retry hooks at all, was this ever implemented? I'm hoping to log a message and increment a counter every time a retry occurs.

BrianNichols commented 1 year ago

RetryListener has not been implemented.

echatman-ias commented 1 year ago

RetryListener has not been implemented.

Why is this issue "closed as completed" then? Can we reopen it?

BrianNichols commented 1 year ago

There is already a duplicate issue that is still open: https://github.com/aerospike/aerospike-client-java/issues/228