@Override
    public void close() {
        close(Duration.ZERO);
    }
Add a {@link CompletableApplicationEvent} to the handler. The method blocks waiting for the result, and will
return the result value upon successful completion; otherwise throws an error.

<p/>

See {@link ConsumerUtils#getResult(Future)} for more details.

@param event A {@link CompletableApplicationEvent} created by the polling thread
@return      Value that is the result of the event
@param <T>   Type of return value of the event
clients/src/main/java/org/apache/kafka/clients/consumer/internals/events/ApplicationEventHandler.java