You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a cluster that deploys the same image, with a total of six nodes. Occasionally, some nodes do not load the JsonFormat class,
The relevant codes are as follows
EventFormat eventFormat = EventFormatProvider.getInstance()
.resolveFormat(JsonFormat.CONTENT_TYPE);
if (eventFormat == null) {
logger.info("resolveFormat failed,force retry..");
eventFormat = new JsonFormat().withForceNonJsonDataToString();
if (eventFormat != null) {
logger.info("resolveFormat failed,retry success..");
}
EventFormatProvider.getInstance().registerFormat(eventFormat);
return eventFormat;
i observed that the SPI mechanism did not take effect on the problem node and manually instantiated the successful log of the JsonFormat class.
I can't understand why this situation occurs. It occurs relatively infrequently, but it does exist. The current solution is not elegant enough, and I hope to receive help.
this is my version
The text was updated successfully, but these errors were encountered:
I have a cluster that deploys the same image, with a total of six nodes. Occasionally, some nodes do not load the
JsonFormat
class,The relevant codes are as follows
i observed that the SPI mechanism did not take effect on the problem node and manually instantiated the successful log of the
JsonFormat
class.I can't understand why this situation occurs. It occurs relatively infrequently, but it does exist. The current solution is not elegant enough, and I hope to receive help.
this is my version
The text was updated successfully, but these errors were encountered: