Class OffsetCommitExceptionLogger
java.lang.Object
io.micronaut.configuration.kafka.exceptions.OffsetCommitExceptionLogger
Helper for handling Kafka offset commit failures that can be expected during cooperative rebalancing.
- Since:
- 5.4
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisCooperativeStickyAssignor(@Nullable Object assignmentStrategy) static voidlog(org.slf4j.Logger logger, boolean cooperativeStickyAssignmentStrategy, String message, Throwable exception, Object... arguments) static booleanshouldLogAtWarn(boolean cooperativeStickyAssignmentStrategy, @Nullable Throwable exception)
-
Method Details
-
isCooperativeStickyAssignor
-
shouldLogAtWarn
public static boolean shouldLogAtWarn(boolean cooperativeStickyAssignmentStrategy, @Nullable @Nullable Throwable exception) -
log
-