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

Do not use deprecated classes and methods #1411

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

fedinskiy
Copy link
Contributor

@fedinskiy fedinskiy commented Nov 21, 2024

Summary

Removes a single deprecated class and updates usage of deprecated functionality, which was completely removed earlier

Please check the relevant options

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Dependency update
  • Refactoring
  • Release (follows conventions described in the RELEASE.md)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • This change requires a documentation update
  • This change requires execution against OCP (use run tests phrase in comment)

Checklist:

  • Example scenarios has been updated / added
  • Methods and classes used in PR scenarios are meaningful
  • Commits are well encapsulated and follow the best practices

michalvavrik
michalvavrik previously approved these changes Nov 21, 2024
Copy link
Member

@michalvavrik michalvavrik left a comment

Choose a reason for hiding this comment

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

According to https://github.com/testcontainers/testcontainers-java/pull/9139/files this should work with confluentinc/cp-kafka images version 7.4.0 and later and we are on the 7.6.1 version. So LGTM if CI agrees.

@fedinskiy fedinskiy changed the title Do not use deprecated class Do not use deprecated classes and methods Nov 21, 2024
@michalvavrik
Copy link
Member

Looks like you will need a rebase.

@fedinskiy fedinskiy force-pushed the fix/deprecated branch 2 times, most recently from ee82153 to 1c83be1 Compare November 21, 2024 15:47
@michalvavrik michalvavrik dismissed their stale review November 21, 2024 20:58

changes will require new review, but I shall wait for green CI

@fedinskiy
Copy link
Contributor Author

run tests

See quarkusio/quarkus#44612 for details
Previous version was removed here due to deprecation:
quarkus-qe/quarkus-test-framework@77ee8d5#diff-297033851be162e9f425d8b2dfdc83df0fa54100ca3714478d9a67c8690c7fbdL24
@fedinskiy
Copy link
Contributor Author

run tests

@fedinskiy
Copy link
Contributor Author

After an update to the class for running Kafka, testcontainers are not able to connect to cp-schema-registry container. This library is really a gift, that keeps on giving.

@michalvavrik I would not be able to work on this PR during the next week, so feel free to close it and the related task

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