Skip to content

Conversation

fangnx
Copy link
Member

@fangnx fangnx commented Aug 19, 2025

What

Add basic ducktape test cases for producer w/ schema registry integrated, covering 3 supported serialization formats.

As a follow-up item, we can explore testing producing with with different sizes of messages to be serialized.

Checklist

  • Contains customer facing changes? Including API/behavior changes
  • Did you add sufficient unit test and/or integration test coverage for this PR?
    • If not, please explain why it is not required

References

JIRA: https://confluentinc.atlassian.net/browse/DGS-21924

Test & Review

Open questions / Follow-ups

@confluent-cla-assistant
Copy link

🎉 All Contributor License Agreements have been signed. Ready to merge.
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.

@sonarqube-confluent

This comment has been minimized.

self.logger.info("Verifying connection to external Kafka at localhost:9092")

if not self.kafka.verify_connection():
raise Exception("Cannot connect to Kafka at localhost:9092. "
Copy link
Contributor

Choose a reason for hiding this comment

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

As SonarQube suggests never throw an Exception or BaseException. I'd maybe raise a ConnectionError here.

@sonarqube-confluent

This comment has been minimized.

@fangnx fangnx marked this pull request as ready for review August 21, 2025 20:12
@Copilot Copilot AI review requested due to automatic review settings August 21, 2025 20:12
@fangnx fangnx requested review from a team as code owners August 21, 2025 20:12
@fangnx fangnx changed the title WIP: integrate Schema Registry with ducktape load tests Integrate Schema Registry with ducktape load tests Aug 21, 2025
@sonarqube-confluent
Copy link

Passed

Analysis Details

4 Issues

  • Bug 0 Bugs
  • Vulnerability 0 Vulnerabilities
  • Code Smell 4 Code Smells

Coverage and Duplications

  • Coverage No coverage information (66.10% Estimated after merge)
  • Duplications No duplication information (5.60% Estimated after merge)

Project ID: confluent-kafka-python

View in SonarQube

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@fangnx fangnx requested a review from MSeal August 25, 2025 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants