Re:Kafka Removing Zookeeper Dependency
by apta on Sunday May 17, 2020 @11:40AM
(#23212709)
You can ship the JVM with your app such that it's self-contained and system independent. Apps like IntelliJ already do this. And now with jlink, you can strip it down to make deployment sizes even smaller by only shipping the parts of the JVM that your app uses.
[ Parent
| on HN ]
That’s the reasonable choice for consumer facing applications, yeah. For server applications it makes more sense to use something like Docker or a pre-built AMI.
For what I do “how do I get Java on the server” is much less difficult than making deployments quicker and more efficient, which is more a problem for our CI/CD harness and integration tests. Neither of which are Java specific per se.
Re:Kafka Removing Zookeeper Dependency
by parasubvert on Monday May 18, 2020 @07:55AM
(#23221202)
For server apps you don’t even need a Docker image or AMI, a fat JAR will usually do 90% of what you need.
That said if you want to keep your JDK up to date via Docker or AMI of course that’s fine. a jlink JAR does the same thing but I can see the desire for wanting to decouple runtime upgrades from code upgrades.