[jira] [Commented] (KAFKA-16232) kafka hangs forever in the starting process if the authorizer future is not returned

2024-03-01 Thread Kuan-Po Tseng (Jira)


[ 
https://issues.apache.org/jira/browse/KAFKA-16232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17822739#comment-17822739
 ] 

Kuan-Po Tseng commented on KAFKA-16232:
---

Thank you [~showuon] , but I can't assign this issue to myself, could you help 
me ? Thanks again !

> kafka hangs forever in the starting process if the authorizer future is not 
> returned
> 
>
> Key: KAFKA-16232
> URL: https://issues.apache.org/jira/browse/KAFKA-16232
> Project: Kafka
>  Issue Type: Improvement
>Affects Versions: 3.6.1
>Reporter: Luke Chen
>Priority: Major
>
> For security reason, during broker startup, we will wait until all ACL 
> entries loaded before starting serving requests. But recently, we 
> accidentally set standardAuthorizer to ZK broker, and then, the broker never 
> enters RUNNING state because it's waiting for the  standardAuthorizer future 
> completion. Of course this is a human error to set the wrong configuration, 
> but it'd be better we could handle this case better. Suggestions:
> 1. set timeout for authorizer future waiting (how long is long enough?)
> 2. add logs before and after future waiting, to allow admin to know we're 
> waiting for the authorizer future.
> We can start with (2), and thinking about (1) later.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (KAFKA-16232) kafka hangs forever in the starting process if the authorizer future is not returned

2024-03-01 Thread Luke Chen (Jira)


[ 
https://issues.apache.org/jira/browse/KAFKA-16232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17822736#comment-17822736
 ] 

Luke Chen commented on KAFKA-16232:
---

Yes, please. Thanks for picking it up [~brandboat]!

> kafka hangs forever in the starting process if the authorizer future is not 
> returned
> 
>
> Key: KAFKA-16232
> URL: https://issues.apache.org/jira/browse/KAFKA-16232
> Project: Kafka
>  Issue Type: Improvement
>Affects Versions: 3.6.1
>Reporter: Luke Chen
>Priority: Major
>
> For security reason, during broker startup, we will wait until all ACL 
> entries loaded before starting serving requests. But recently, we 
> accidentally set standardAuthorizer to ZK broker, and then, the broker never 
> enters RUNNING state because it's waiting for the  standardAuthorizer future 
> completion. Of course this is a human error to set the wrong configuration, 
> but it'd be better we could handle this case better. Suggestions:
> 1. set timeout for authorizer future waiting (how long is long enough?)
> 2. add logs before and after future waiting, to allow admin to know we're 
> waiting for the authorizer future.
> We can start with (2), and thinking about (1) later.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (KAFKA-16232) kafka hangs forever in the starting process if the authorizer future is not returned

2024-03-01 Thread Kuan-Po Tseng (Jira)


[ 
https://issues.apache.org/jira/browse/KAFKA-16232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17822532#comment-17822532
 ] 

Kuan-Po Tseng commented on KAFKA-16232:
---

gentle ping [~showuon] ~ I'm willing to take over this issue, as you mentioned, 
I'll try to start with (2) first. Many thanks :)

> kafka hangs forever in the starting process if the authorizer future is not 
> returned
> 
>
> Key: KAFKA-16232
> URL: https://issues.apache.org/jira/browse/KAFKA-16232
> Project: Kafka
>  Issue Type: Improvement
>Affects Versions: 3.6.1
>Reporter: Luke Chen
>Priority: Major
>
> For security reason, during broker startup, we will wait until all ACL 
> entries loaded before starting serving requests. But recently, we 
> accidentally set standardAuthorizer to ZK broker, and then, the broker never 
> enters RUNNING state because it's waiting for the  standardAuthorizer future 
> completion. Of course this is a human error to set the wrong configuration, 
> but it'd be better we could handle this case better. Suggestions:
> 1. set timeout for authorizer future waiting (how long is long enough?)
> 2. add logs before and after future waiting, to allow admin to know we're 
> waiting for the authorizer future.
> We can start with (2), and thinking about (1) later.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)