Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add delete_topic to KafkaAdminClientHook and teardown logic to Kafka integration tests #40142

Merged
merged 2 commits into from
Jun 8, 2024

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
50 checks passed
@shahar1 shahar1 deleted the improve-kafka-hooks-integration-tests branch June 12, 2024 13:13
jannisko pushed a commit to jannisko/airflow that referenced this pull request Jun 15, 2024
…fka integration tests (apache#40142)

* Add unit tests to Apache Kafka hooks

* Add teardown logic to integration tests of kafka hooks
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