-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: Add KAFKA mocking #13
base: main
Are you sure you want to change the base?
Conversation
In JAVA, @lbroudoux introduce a notion But this approach use testcontainer lifecycle |
Yes, this approach was quite convenient in Java (and necessary to integrate with frameworks like Spring that can manage the testcontainers lifecycle). However it is typically not available in other Testcontainers bindings like Node or Go. I think it's nice to keep this notion of |
Issue KafkaContainer (.NET) testcontainers/testcontainers-dotnet#1314 |
Contribution to add network on Kafka: testcontainers/testcontainers-dotnet#1316 |
Hey @SebastienDegodez! I had the same issue with Kafka module on testcontainers Go unfortunately... |
Hey, I have develop the feature in the train this morning. For the moment, i replace the kafka_listener, protocole and advertised (in startupCallback). |
a14abb4
to
e6a288c
Compare
e6a288c
to
175a617
Compare
Signed-off-by: SebastienDegodez <[email protected]>
Signed-off-by: SebastienDegodez <[email protected]>
Bumps [FluentAssertions](https://github.com/fluentassertions/fluentassertions) from 6.12.0 to 7.0.0. - [Release notes](https://github.com/fluentassertions/fluentassertions/releases) - [Changelog](https://github.com/fluentassertions/fluentassertions/blob/develop/AcceptApiChanges.ps1) - [Commits](fluentassertions/fluentassertions@6.12.0...7.0.0) --- updated-dependencies: - dependency-name: FluentAssertions dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [xunit](https://github.com/xunit/xunit) from 2.9.0 to 2.9.2. - [Commits](xunit/xunit@v2-2.9.0...v2-2.9.2) --- updated-dependencies: - dependency-name: xunit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [RestAssured.Net](https://github.com/basdijkstra/rest-assured-net) from 4.4.0 to 4.5.1. - [Changelog](https://github.com/basdijkstra/rest-assured-net/blob/main/CHANGELOG.md) - [Commits](basdijkstra/rest-assured-net@rest-assured-net-4.4.0...rest-assured-net-4.5.1) --- updated-dependencies: - dependency-name: RestAssured.Net dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: SebastienDegodez <[email protected]>
e558e95
to
af1ebd1
Compare
Hello @lbroudoux , "sonar.token is invalid" I don't understand. We have lost a secret ? |
I've checked and It is used here: https://github.com/microcks/microcks-testcontainers-dotnet/blob/main/.github/workflows/steps.dotnet-build-test.yml#L67 I think the issue you get is because the build is happening on your own branch (your fork) and not on the Microcks one. In that case, the secret we defined is not available. Maybe we should add an additional condition to prevent trying to launch the Sonar analysis? Will check this. |
I can have a condition but to follow Sonar for all pr, it's not practical. For the future, do you think it is possible to add me the right to create and push only the branch in feature/* without risk for other repo or the main branch (or another strategy) ? |
f714277
to
4ceb187
Compare
87049af
to
88c1bba
Compare
85affe5
to
bc81b95
Compare
Signed-off-by: SebastienDegodez <[email protected]>
Signed-off-by: SebastienDegodez <[email protected]>
Skip SonarCloud Scan if the pull request is from a forked repository Signed-off-by: SebastienDegodez <[email protected]>
Signed-off-by: SebastienDegodez <[email protected]>
bc81b95
to
fbe09a6
Compare
Signed-off-by: SebastienDegodez <[email protected]>
Pull Request
Proposed Changes
The goal of this enhancement is to add KAFKA support to the
testcontainers
module.For the moment, AsynchronousAPI mocking are not supported. This feature would require an additionnal container
microcks-async-minion
.Readiness Checklist
Author/Contributor
dotnet test
and ensure you have test coverage for the lines you are introducingdotnet husky run
and fix any issues that you have introducedReviewer
feature
,fix
,documentation
,enhancement
,maintenance
orbreaking