Receive event signals and broadcast to connected downstream by dame simple HTTP2/3 server stream or websocket protocol.
Warning: 🚧 WIP & Prototyping
sbt compile
sbt test
sbt run
While Metals uses sbt
as the build server, we can also log into the same sbt
session using a thin client. From Terminal section, type in
sbt --client
This lets you log into the sbt session Metals has started.
By default, all files found in the src/universal
directory are included in the
distribution.
Build by
sbt clean
sbt stage
Create the plain layout app or zipped tgz
/tgz
package for the project.
# create plain layout application directory
sbt packageBin
# create `tgz` (tar.gz) package
sbt packageZipTarball
# create `txz` (tar.xz) package
sbt packageXzTarball
Before building, you should install prerequisites binary native-image
from
Graal.
gu install native-image
Then, build to native-image
sbt GraalVMNativeImage/packageBin
sbt Docker/stage
sbt Docker/publishLocal
sbt Docker/publish
Warning: Before executing Docker/publish
, you need to login to container
registry outside sbt
.
- softwaremill/elasticmq: In-memory message queue with an Amazon SQS-compatible interface. Runs stand-alone or embedded. https://softwaremill.com/open-source/
- centrifugal/centrifugo: Scalable
real-time messaging server in a language-agnostic way. Self-hosted alternative
to Pubnub, Pusher, Ably. Set up once and forever. https://centrifugal.dev
- yeah, finally, I found the right one. This is actually what I want to build.