mirror of https://github.com/apache/kafka.git
Update ApplicationEventProcessor.java
This commit is contained in:
parent
fa784e5f25
commit
5be72105ba
|
@ -797,9 +797,8 @@ public class ApplicationEventProcessor implements EventProcessor<ApplicationEven
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If there's an error to report to the user, the current event will be completed with
|
* If there's an error to report to the user, the current event will be completed and this method will
|
||||||
* {@link AsyncPollEvent.State#FAILED} and this method will return {@code true}. Otherwise, it will
|
* return {@code true}. Otherwise, it will return {@code false}.
|
||||||
* return {@code false}.
|
|
||||||
*/
|
*/
|
||||||
private boolean maybeCompleteAsyncPollEventExceptionally(AsyncPollEvent event, Throwable t) {
|
private boolean maybeCompleteAsyncPollEventExceptionally(AsyncPollEvent event, Throwable t) {
|
||||||
if (t == null)
|
if (t == null)
|
||||||
|
|
Loading…
Reference in New Issue