Fix deprecated API usage in class `ExternalKafkaClusterTest`
mguenther opened this issue ยท 4 comments
๐๐ฅ First Timers Only
This issue is reserved for people who never contributed to Open Source before. We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you ๐
๐พ Description of the issue
The test class ExternalKafkaClusterTest
uses KafkaContainer
from Testcontainers to spin up an external cluster that we can attach to. The no-args constructor of KafkaContainer
is deprecated and we should move to KafkaContainer(DockerImageName)
. The DockerImageName
should reflect the default of Testcontainers though, which is:
- name: confluentinc/cp-kafka
- tag: 5.4.3
Acceptance criteria:
ExternalKafkaClusterTest
no longer exhibits any deprecation warnings.- All tests are still running.
๐ Step by Step
To solve this issue and contribute a fix you should check the following step-by-step list. A more detailed documentation of the workflow can be found here.
- Claim this issue: Comment below.
- Fork the repository in github by simply clicking the 'fork' button.
- Check out the forked repository
- Create a feature branch for the issue. There are no enforced naming conventions for branches. In the past, we simply used
issue-XX
,XX
being the number of the issue you are working on. - Commit your changes.
- Start a Pull Request.
- Done ๐ Ask in comments for a review :)
- If the reviewer find some missing pieces or a problem he will start a discussion with you and describe the next steps how the problem can be solved.
- You did it ๐ We will merge the fix in the development branch.
- Thanks, thanks, thanks for being part of this project as an open source contributor โค๏ธ
๐ Contribute to Hacktoberfest
Solve this issue as part of the Hacktoberfest event and get a change to receive cool goodies like a T-Shirt. ๐ฝ
๐คโ Questions
If you have any questions just ask us directly in this issue by adding a comment.
Hi @mguenther!
Can I pick it up? I would like to work on it in the next week during hacktoberfest
Hi @mslowiak ! Absolutely, go ahead and assign the issue to yourself. Appreciate your help!
@mguenther You are the owner of the repo, so you need to assign me there :D