mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-29 16:39:04 +00:00
Added logging for the back off in AbstractEventPublisher as well as information about subsequent retries (#2737)
* Added logging for the back off in AbstractEventPublisher as well as information about subsequent retries * Adding changeEvent to logging message
This commit is contained in:
parent
1b2ea54d4f
commit
d60a085ff2
@ -54,6 +54,7 @@ public abstract class AbstractEventPublisher implements EventPublisher {
|
||||
batch.clear();
|
||||
} catch (RetriableException ex) {
|
||||
setNextBackOff();
|
||||
LOG.error("Failed to publish event {} due to {}, will try again in {} ms", changeEvent, ex, currentBackoffTime);
|
||||
Thread.sleep(currentBackoffTime);
|
||||
} catch (Exception e) {
|
||||
LOG.error("Failed to publish event {}", changeEvent);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user