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

kafka integration tests #308

Merged
81 commits merged into from
Sep 7, 2022

Conversation

dagardner-nv
Copy link
Contributor

@dagardner-nv dagardner-nv commented Jul 27, 2022

Breaking changes (#296):

  • Default group_id for KafkaSourceStage changes from "custreamz" to "morpheus"
  • Remove default topic value for KafkaSourceStage.

Other changes:

  • Adds Kafka integration tests for ABP, Hammah, Phishing & Sid validation pipelines.
  • Uses pytest_kafka to add zookeeper & kafka pytest fixtures
  • Configures pytest to only run kafka tests when --run_kafka command line flag is set.
  • Adds a stop_after argument to KafkaSourceStage when defined the source will stop once stop_after records have been read from the source.
  • Fixes bug in C++ impl preventing KafkaSourceStage from respecting max_batch_size ([BUG] KafkaSourceStage max_batch_size is ignored #309)

Note: Many of the kafka tests are also slower integration tests in effect requiring both the --run_kafka & --run_slow flags being passed to pytest

requires PR #290
fixes #258
fixes #296
fixes #309

@dagardner-nv
Copy link
Contributor Author

rerun tests

@dagardner-nv dagardner-nv added 3 - Ready for Review and removed DO NOT MERGE PR should not be merged; see PR for details 2 - In Progress labels Aug 8, 2022
@dagardner-nv dagardner-nv changed the title Draft: kafka integration tests kafka integration tests Aug 16, 2022
@dagardner-nv dagardner-nv added breaking Breaking change and removed non-breaking Non-breaking change labels Aug 16, 2022
@dagardner-nv dagardner-nv changed the base branch from branch-22.08 to branch-22.09 August 22, 2022 16:49
Copy link
Contributor

@mdemoret-nv mdemoret-nv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@mdemoret-nv
Copy link
Contributor

@gpucibot merge

@ghost ghost merged commit 5c92142 into nv-morpheus:branch-22.09 Sep 7, 2022
@dagardner-nv dagardner-nv deleted the david-kafka-unittest branch February 12, 2024 23:21
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change improvement Improvement to existing functionality
Projects
Archived in project
2 participants