Kafkatemplate.send (meldung) versucht, unendliche Zeiten mit "Authentifizierungsfehler" zu verbinden.Java

Java-Forum
Anonymous
 Kafkatemplate.send (meldung) versucht, unendliche Zeiten mit "Authentifizierungsfehler" zu verbinden.

Post by Anonymous »

wie man diese unendliche Schleife vermeidet. So fügen Sie in diesem Fall Fehlerbehandlungen hinzu. Wenn eine Anmeldeinformationsfehlübereinstimmung dreimal versucht und aufhören, < /p>
wieder zu verbinden

Code: Select all

2022-10-19 16:03:32.410  INFO [,,,] 828 --- [ad | producer-2] o.apache.kafka.common.network.Selector   : [Producer clientId=producer-2] Failed authentication with (Authentication failed: Invalid username or password)
2022-10-19 16:03:32.412 ERROR [,,,] 828 --- [ad | producer-2] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-2] Connection to node -2 () failed authentication due to: Authentication failed: Invalid username or password
2022-10-19 16:03:34.417  INFO [,,,] 828 --- [ad | producer-2] o.apache.kafka.common.network.Selector   : [Producer clientId=producer-2] Failed authentication with  (Authentication failed: Invalid username or password)
2022-10-19 16:03:34.419 ERROR [,,,] 828 --- [ad | producer-2] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-2] Connection to node -2 () failed authentication due to: Authentication failed: Invalid username or password
2022-10-19 16:03:36.338  INFO [,,,] 828 --- [ad | producer-2] o.apache.kafka.common.network.Selector   : [Producer clientId=producer-2] Failed authentication with (Authentication failed: Invalid username or password)
2022-10-19 16:03:36.340 ERROR [,,,] 828 --- [ad | producer-2] org.apache.kafka.clients.NetworkClient   : [Producer clientId=producer-2] Connection to node -1 () failed authentication due to: Authentication failed: Invalid username or password

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post