mrk-andreev commented on code in PR #44307:
URL: https://github.com/apache/airflow/pull/44307#discussion_r1857387880


##########
providers/src/airflow/providers/apache/kafka/hooks/consume.py:
##########
@@ -23,6 +23,18 @@
 from airflow.providers.apache.kafka.hooks.base import KafkaBaseHook
 
 
+class KafkaAuthenticationError(Exception):
+    """Custom exception for Kafka authentication failures."""
+
+    pass
+
+
+def error_callback(err):

Review Comment:
   I think that we would like to catch only Authentication issue while 
error_callback consume all errors 
(https://docs.confluent.io/platform/current/clients/confluent-kafka-python/html/index.html#pythonclient-kafkaerror).
 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to