dferguson992 opened a new pull request #12388: URL: https://github.com/apache/airflow/pull/12388
Dear Airflow Maintainers, Please accept the following PR that Add the KafkaProducerHook. Add the KafkaConsumerHook. Add the KafkaSensor which listens to messages with a specific topic. Related Issue: #1311 Issue link: AIRFLOW-6786 Make sure to mark the boxes below before creating PR: [x] Description above provides context of the change Commit message/PR title starts with [AIRFLOW-NNNN]. AIRFLOW-NNNN = JIRA ID* Unit tests coverage for changes (not needed for documentation changes) Commits follow "How to write a good git commit message" Relevant documentation is updated including usage instructions. I will engage committers as explained in Contribution Workflow Example. For document-only changes commit message can start with [AIRFLOW-XXXX]. Reminder to contributors: You must add an Apache License header to all new files Please squash your commits when possible and follow the 7 rules of good Git commits I am new to the community, I am not sure the files are at the right place or missing anything. The sensor could be used as the first node of a dag where the second node can be a TriggerDagRunOperator. The messages are polled in a batch and the dag runs are dynamically generated. Thanks! Note, as per denied PR #1415, it is important to mention these integrations are not suitable for low-latency/high-throughput/streaming. For reference, #1415 (comment). Co-authored-by: Dan Ferguson [email protected] Co-authored-by: YuanfΞi Zhu -- 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. For queries about this service, please contact Infrastructure at: [email protected]
