Re:Kafka Removing Zookeeper Dependency
by PopeDotNinja on Sunday May 17, 2020 @06:26AM
(#23211007)
+1 for this. A headless install of Java is not straight forward. Doable? Yes. Pain in the butt? Yes.
[ Parent
| on HN ]
yum install java-latest-openjdk-headless
There, you're done. Need fonts? Install fonts. Pain in the butt? Where?
And now you have a separate intermediate runtime layer between your code and the OS, with its own set of versions, patches, regression, bugs, backward compatibilities, etc. that may or may not have an impact on the code that you intend to deploy (or redeploy).
Statically compiled binaries are undoubtedly a plus regarding deployment.
Re:Kafka Removing Zookeeper Dependency
by throwdbaaway on Sunday May 17, 2020 @01:21PM
(#23213476)
You do realize that golang statically compiled binaries contain the go runtime right? So, all the concerns that you mentioned are applicable to go as well, e.g. a golang app may be buggy when built with version X, while another golang app may have GC issue when built with version Y, and yet another golang app would be vulnerable unless rebuilt with version Z. [1][2][3]
Don't drink the Kool-Aid, golang is just a more opinionated and much less capable cousin of Java/JVM. And for many companies, that could be the right trade-off.
[1] https://groups.google.com/forum/m/#!topic/golang-announce/mV...
[2] https://groups.google.com/forum/m/#!topic/kubernetes-securit...
[3] https://groups.google.com/forum/m/#!topic/golang-announce/65...
except that the developer controls it, since its is embedded. As such it follows the exact same lifecycle as the code itself ( versionning, testing, etc).
This is misinformed. jlink has existed since jdk 11 and allows the developer to produce a custom JVM to ship with their application. jpackage also now exists to create installers for whatever platform your on. It is you the developer who are responsible for packaging your application correctly.