potiuk commented on code in PR #44307:
URL: https://github.com/apache/airflow/pull/44307#discussion_r1872696215


##########
providers/src/airflow/providers/apache/kafka/hooks/consume.py:
##########
@@ -18,9 +18,23 @@
 
 from typing import Sequence
 
-from confluent_kafka import Consumer
+from confluent_kafka import Consumer, KafkaError
 
 from airflow.providers.apache.kafka.hooks.base import KafkaBaseHook
+from airflow.utils.module_loading import import_string
+
+
+class KafkaAuthenticationError(Exception):

Review Comment:
   One NIT - could you please also add some description about that to the 
documentation 
https://github.com/apache/airflow/blob/main/docs/apache-airflow-providers-apache-kafka/hooks.rst
 



-- 
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