Skip to content

Conversation

@shahar1
Copy link
Contributor

@shahar1 shahar1 commented Jun 8, 2024

depends on: #40140

This PR:

  • Adds delete_topic to KafkaAdminClientHook.
  • Utilizing the delete_topic above, it adds teardown logic to integration tests of Kafka hooks. Without this logic, some of the tests may fail upon rerunning.

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@shahar1 shahar1 marked this pull request as draft June 8, 2024 15:17
@shahar1 shahar1 force-pushed the improve-kafka-hooks-integration-tests branch from 44cb2ba to 8b5245e Compare June 8, 2024 15:19
@shahar1 shahar1 force-pushed the improve-kafka-hooks-integration-tests branch from 8b5245e to f16e2ea Compare June 8, 2024 16:52
@shahar1 shahar1 marked this pull request as ready for review June 8, 2024 16:58
@shahar1 shahar1 force-pushed the improve-kafka-hooks-integration-tests branch from f16e2ea to 28d36ac Compare June 8, 2024 20:00
@potiuk potiuk merged commit cbe6c2d into apache:main Jun 8, 2024
@shahar1 shahar1 deleted the improve-kafka-hooks-integration-tests branch June 12, 2024 13:13
romsharon98 pushed a commit to romsharon98/airflow that referenced this pull request Jul 26, 2024
…fka integration tests (apache#40142)

* Add unit tests to Apache Kafka hooks

* Add teardown logic to integration tests of kafka hooks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants