[jira] [Commented] (KAFKA-10840) Need way to catch auth issues in poll method of Java Kafka client

2023-12-04 Thread Chris Egerton (Jira)


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

Chris Egerton commented on KAFKA-10840:
---

[~pnee] It's been a while but this does ring a bell. I think the case I recall 
is that source connectors were hanging because their admin client was 
infinitely retrying on some operation, but at this point it was years ago so 
I'm fuzzy on the details.

It'd be great if we could fail clients on expired certs, without also failing 
on transient (or possibly-transient) errors.

> Need way to catch auth issues in poll method of Java Kafka client
> -
>
> Key: KAFKA-10840
> URL: https://issues.apache.org/jira/browse/KAFKA-10840
> Project: Kafka
>  Issue Type: Improvement
>Reporter: Devin G. Bost
>Priority: Blocker
>  Labels: authentication, client
>
> We recently implemented SSL authentication at our company, and when certs 
> expire, the Kafka client poll method silently fails without throwing any kind 
> of exception. This is a problem because the data flow could stop at any time 
> (due to certificate expiration) without us being able to handle it. The auth 
> issue shows up in Kafka broker logs, but we don't see any indication on the 
> client-side that there was an auth issue. As a consequence, the auth failure 
> happens 10 times a second forever. 
> We need a way to know on the client-side if an auth issue is blocking the 
> connection to Kafka so we can handle the exception and refresh the certs 
> (keystore/truststore) when the certs expire. 



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


[jira] [Commented] (KAFKA-10840) Need way to catch auth issues in poll method of Java Kafka client

2023-11-30 Thread Philip Nee (Jira)


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

Philip Nee commented on KAFKA-10840:


Hey [~ChrisEgerton] - Seems like you've been working on KConnect for awhile, do 
you know much about this?

> Need way to catch auth issues in poll method of Java Kafka client
> -
>
> Key: KAFKA-10840
> URL: https://issues.apache.org/jira/browse/KAFKA-10840
> Project: Kafka
>  Issue Type: Improvement
>Reporter: Devin G. Bost
>Priority: Blocker
>  Labels: authentication, client
>
> We recently implemented SSL authentication at our company, and when certs 
> expire, the Kafka client poll method silently fails without throwing any kind 
> of exception. This is a problem because the data flow could stop at any time 
> (due to certificate expiration) without us being able to handle it. The auth 
> issue shows up in Kafka broker logs, but we don't see any indication on the 
> client-side that there was an auth issue. As a consequence, the auth failure 
> happens 10 times a second forever. 
> We need a way to know on the client-side if an auth issue is blocking the 
> connection to Kafka so we can handle the exception and refresh the certs 
> (keystore/truststore) when the certs expire. 



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


[jira] [Commented] (KAFKA-10840) Need way to catch auth issues in poll method of Java Kafka client

2023-11-09 Thread Philip Nee (Jira)


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

Philip Nee commented on KAFKA-10840:


Hey [~devin.bost] Are you still seeing this issue? I recently ran in to a 
similar issue in Kafka Connect that the connector didn't catch the failed 
authentication causing the task running for days on "Failed authentication with 
"

> Need way to catch auth issues in poll method of Java Kafka client
> -
>
> Key: KAFKA-10840
> URL: https://issues.apache.org/jira/browse/KAFKA-10840
> Project: Kafka
>  Issue Type: Improvement
>Reporter: Devin G. Bost
>Priority: Blocker
>
> We recently implemented SSL authentication at our company, and when certs 
> expire, the Kafka client poll method silently fails without throwing any kind 
> of exception. This is a problem because the data flow could stop at any time 
> (due to certificate expiration) without us being able to handle it. The auth 
> issue shows up in Kafka broker logs, but we don't see any indication on the 
> client-side that there was an auth issue. As a consequence, the auth failure 
> happens 10 times a second forever. 
> We need a way to know on the client-side if an auth issue is blocking the 
> connection to Kafka so we can handle the exception and refresh the certs 
> (keystore/truststore) when the certs expire. 



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