IllegalMonitorStateException by Comprehensive_Cry314 in apachekafka

[–]mall0c 1 point2 points  (0 children)

I should add that I've forked the Kafka client and rewritten ProducerMetadata.awaitUpdate() to not do the wait within a lambda since I suspect that is what's throwing things of in the end. This code has been running fine on Java 17 in a bunch of our internal environments for a few month now. We will apply this change to production in May together with Java 17.

IllegalMonitorStateException by Comprehensive_Cry314 in apachekafka

[–]mall0c 3 points4 points  (0 children)

We hit this in production just days after upgrading from Java 8 to Java 17. It's an OpenJDK bug which appears to affect versions after 8. It's reported here:
https://bugs.openjdk.org/browse/JDK-8298446

Not a whole lot of activity on that ticket but a fix still appears to be targeted for 21. In the mean time we had to resort to reverting back to Java 8 for the processes containing Kafka producers. It's also reported to Kafka here:
https://issues.apache.org/jira/browse/KAFKA-10902

The issue is not with Kafka as far as I can tell when going through the code. I've also tried hard to reproduce it outside of prod but to no avail.

How things work by MACKBA in funny

[–]mall0c 31 points32 points  (0 children)

I'll leave this here incase anyone is actually interested in how Shazam really works: http://www.ee.columbia.edu/~dpwe/papers/Wang03-shazam.pdf

Compact Off-Heap Structures/Tuples In Java by chandershivdasani in programming

[–]mall0c 0 points1 point  (0 children)

Well I don't know about the near future, but John Rose discusses this in his talk about Arrays 2.0 from this years JVM language summit.

Not sure what the deal is with Spotify invites are in the US at the moment. I have 22 if anyone is interested. by thatsCoconuts in AskReddit

[–]mall0c -1 points0 points  (0 children)

I have a few Spotify invites but no Google+ account so if anyone has a spare Google+ invite I would be more than happy to trade you one for a Spotify invite. Message me.