-
Notifications
You must be signed in to change notification settings - Fork 104
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
Fix build #406
Fix build #406
Conversation
A build was fixed, but one of the tests is failed:
Looks like there is some race condition, I will try to investigate. |
I found a few race conditions in the To fix race conditions I made all interactions with state atomic through a The last commit is pretty complex. If it helps, I can create a separate pull request with it. |
Codecov Report
@@ Coverage Diff @@
## master #406 +/- ##
==========================================
- Coverage 92.01% 90.99% -1.03%
==========================================
Files 62 62
Lines 1466 1499 +33
Branches 49 46 -3
==========================================
+ Hits 1349 1364 +15
- Misses 117 135 +18
Continue to review full report at Codecov.
|
The latest update of scala 2.12.10 to 2.12.12 makes all build red because of this error:
I tried to investigate a bit and found this and this. It looks like some sbt plugins manipulate scala version and cause this class loader issue. I'm not 100% sure that this is the root cause, but it looks pretty similar.
I didn't find any valuable solution in a decent time, so I decided to just revert scala 2.12 update. Looks like this update is not necessary for the library and making all current builds green is very important for the pending pull requests.
Also, looks like updating kafka-avro-serializer to the 6.0.0 cause this issue. Fortunately, there is a workaround for it. I added this workaround in a second commit.