Chia-Ping Tsai created KAFKA-21745:
--------------------------------------
Summary: RefreshingHttpsJwks and
RefreshingHttpsJwksVerificationKeyResolver set isInitialized=true even if
initialization fails
Key: KAFKA-21745
URL: https://issues.apache.org/jira/browse/KAFKA-21745
Project: Kafka
Issue Type: Bug
Reporter: Chia-Ping Tsai
Assignee: Chia-Ping Tsai
{code:java}
} finally {
isInitialized = true;
log.debug("init completed");
}
{code}
It doesn't make sense to set it to true if it fails. {{getJsonWebKeys}} and
{{resolveKey}} rely on that flag to throw {{{}IllegalStateException{}}}.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)