There are two problems, one more severe than the other:
1. The consumer blocks indefinitely if there is non-transient authorization failure during metadata refresh due to
2. We get a TimeoutException instead of an AuthorizationException in the producer for the same case
If the fix for
KAFKA-2391 is to add a timeout, then we will have issue `2` in both producer and consumer.