Chia-Ping Tsai created KAFKA-21746:
--------------------------------------

             Summary: Give a recognizable name to the thread used by 
RefreshingHttpsJwks 
                 Key: KAFKA-21746
                 URL: https://issues.apache.org/jira/browse/KAFKA-21746
             Project: Kafka
          Issue Type: Improvement
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


 
{code:java}
    public RefreshingHttpsJwks(Time time,
                               HttpsJwks httpsJwks,
                               long refreshMs,
                               long refreshRetryBackoffMs,
                               long refreshRetryBackoffMaxMs) {
        this(time, httpsJwks, refreshMs, refreshRetryBackoffMs, 
refreshRetryBackoffMaxMs, Executors.newSingleThreadScheduledExecutor());
    }
{code}
The thread name is {{{}pool-N-thread-1{}}}, which is too common and hard to 
debug. We should give it a recognizable name. It is also a non-daemon thread.

 



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to