SuccessMoses commented on code in PR #44307:
URL: https://github.com/apache/airflow/pull/44307#discussion_r1861957212
##########
providers/src/airflow/providers/apache/kafka/hooks/consume.py:
##########
@@ -36,6 +48,7 @@ def __init__(self, topics: Sequence[str],
kafka_config_id=KafkaBaseHook.default_
self.topics = topics
def _get_client(self, config) -> Consumer:
+ config["error_cb"] = error_callback
Review Comment:
I looked at the code and I do not see how the user can specify hander in
`config`. `config` is json data stores as a connection.
https://github.com/apache/airflow/blob/main/providers/src/airflow/providers/apache/kafka/hooks/base.py#L58-L66
--
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]