-
Notifications
You must be signed in to change notification settings - Fork 227
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
Replace EmbeddedKafkaCluster
with Testcontainers
#129
Conversation
embeddedKafka.startBroker(brokerId); | ||
protected void shutdownKafkaBroker() { | ||
assumeBrokerRestartSupport(); | ||
// TODO embeddedKafka.shutdownBroker(brokerId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure this TODO is still needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. Replaced with Assert.fail
so that (if we ever decide to add the broker restart scenario) it will remind us that we need to implement these methods 👍
waitForTopic(topic, partitions, false); | ||
protected void startKafkaBroker() { | ||
assumeBrokerRestartSupport(); | ||
// TODO embeddedKafka.restartBroker(brokerId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
Codecov Report
@@ Coverage Diff @@
## master #129 +/- ##
============================================
- Coverage 81.98% 80.74% -1.25%
+ Complexity 232 230 -2
============================================
Files 19 19
Lines 1127 1127
Branches 114 114
============================================
- Hits 924 910 -14
- Misses 167 180 +13
- Partials 36 37 +1
Continue to review full report at Codecov.
|
.editorconfig
Outdated
@@ -0,0 +1,22 @@ | |||
# EditorConfig is awesome: http://EditorConfig.org |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this could be made part of a separate commit / PR, wdyt @bsideup ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could, but had a bit of a trouble fighting with IDEA's desire to collapse all imports into .*
:D
Ok, will extract the change...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extracted:
#134
No description provided.