Comments (4)
for the messaging services, I've used both Kafka and Google PubSub, both have client side library in many programming language bindings, however the AWS Kinesis officially only have Java, Nodejs, .Net, Python and Ruby client, and I looked into its Python and Nodejs client, checking if possibly for someone be able easily create a pure Erlang or pure Elixir client library, but it doesn't look like so
because both the Nodejs and Python library are thin wrapper interface to the Amazon Kinesis Client Library (KCL) MultiLangDaemon which is in Java, means you would have to deploy with a JVM
https://docs.aws.amazon.com/streams/latest/dev/kinesis-record-processor-implementation-app-nodejs.html
https://docs.aws.amazon.com/streams/latest/dev/kinesis-record-processor-implementation-app-py.html
usually I would like to avoid JVM because that would bloat the image, wonder have you tried build a customized image on top of this one, could install a JVM from the example Dockerfile from openjdk
image? or download and install a SunJRE in a similar approach; (or I would find some time try this approach)
https://github.com/docker-library/openjdk/blob/master/9-jre/Dockerfile
https://cwiki.apache.org/confluence/display/KAFKA/Clients
from docker-erlang-otp.
We are fine with Kafka and other stuff, this is just about AWS Kinesis. We know about daemon, we just didn't like that approach and tried jinterface
to use directly Java app without daemon. We are also fine with deployment.
Only thing is that Erlang/Elixir docker images don't have jinterface
thus we included one in git repo and copied to final docker image. However, this works, it's not the nicest approach as well.
Regarding custom Erlang/Elixir images, that's something we would like to avoid, because we would have to do that with every OTP or Elixir release.
Therefore I'm just curious if there is any chance to have official Erlang/Elixir image compiled with Java (maybe with some tag e.g. java
).
from docker-erlang-otp.
If done, the image size will be much bigger.
from docker-erlang-otp.
If you have your Dockerfile extending to add the code you need, you can easily extend it on Dockerhub. Dockerhub automatically builds for you if you Dockerfile gets updated on a public github, it also reports on change on your dependency that breaks the image build. Usually, images like this one are expected to be very lean, as if the image grows can trigger complain form the users. Packing java into images is tricky due to different sources of JVMs and others variations of settings.
from docker-erlang-otp.
Related Issues (20)
- Builds for linux/arm/v6 HOT 4
- rebar3: not found on latest (24.x) slim image(s) HOT 7
- upgrade git to 2.18+ for better compatibility with github actions HOT 8
- Remove c0b from maintainers HOT 1
- Proposal: Windows containers support HOT 1
- Use Debian 11 based images for building new Erlang 24 HOT 5
- Erlang 24 large http requests with :httpc segfaults on apple silicon HOT 1
- Update of 24 base image is a braking change HOT 3
- Latest image breaks when running observer HOT 2
- Erlang 25 for arm64 seg faults HOT 2
- Consider bundling Git
- Updating to alpine 3.17 broke our multibuild setup. HOT 14
- Latest tag for alpine and slim variants HOT 1
- Slim images aren't using debian slim HOT 1
- Trigger release from OTP repo HOT 5
- Request for image for 26.1 HOT 3
- Minimal Ubuntu images?
- Erlang Alpine Tags/Images HOT 1
- Erlang 26.2.3 crashes on apple M1 HOT 2
- Tag all pre-releases as release candidates HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-erlang-otp.