Skip to content

Commit 60088b9

Browse files
committed
fix: codereview
1 parent a1fcb3e commit 60088b9

File tree

1 file changed

+5
-0
lines changed
  • eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol

1 file changed

+5
-0
lines changed

eventmesh-runtime/src/main/java/org/apache/eventmesh/runtime/core/protocol/RetryContext.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,11 @@ public final void run() throws Exception {
7070
doRun();
7171
return;
7272
}
73+
if (!eventMeshRetryPluginType.equals(commonConfiguration.getEventMeshStoragePluginType())) {
74+
log.warn("Because eventmesh retry plugin type mismatched with storage plugin type, retry in memory.");
75+
doRun();
76+
return;
77+
}
7378
Optional<RetryStrategy> retryStrategy = Optional.ofNullable(
7479
EventMeshExtensionFactory.getExtension(RetryStrategy.class,
7580
commonConfiguration.getEventMeshRetryPluginType()));

0 commit comments

Comments
 (0)