mrk-andreev commented on code in PR #44307:
URL: https://github.com/apache/airflow/pull/44307#discussion_r1857389082
##########
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:
> Additionally, we can assume that the user has already provided an error_cb.
`config` may already contain handler. In this case you will override user
defined handler.
--
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]