All Projects → sap1ens → akka-microservice

sap1ens / akka-microservice

Licence: MIT license
Example of a microservice with Scala, Akka, Spray and Camel/ActiveMQ

Programming Languages

scala
5932 projects

Projects that are alternatives of or similar to akka-microservice

event-driven-microservices
No description or website provided.
Stars: ✭ 15 (-66.67%)
Mutual labels:  camel, activemq
play-grpc
Play + Akka gRPC
Stars: ✭ 31 (-31.11%)
Mutual labels:  akka
akka-ui
AkkaUI - Build your reactive UI using Akka.js
Stars: ✭ 55 (+22.22%)
Mutual labels:  akka
changestream
A stream of changes for MySQL built on Akka
Stars: ✭ 25 (-44.44%)
Mutual labels:  akka
akka-persistence-gcp-datastore
akka-persistence-gcp-datastore is a journal and snapshot store plugin for akka-persistence using google cloud firestore in datastore mode.
Stars: ✭ 18 (-60%)
Mutual labels:  akka
stem
Event sourcing framework based on ZIO and pluggable runtime (currently working with Akka cluster)
Stars: ✭ 22 (-51.11%)
Mutual labels:  akka
vacomall
☀️☀️ 基于 dubbo 实现的分布式电商平台。
Stars: ✭ 42 (-6.67%)
Mutual labels:  activemq
akka-http-circe-json-template
Akka HTTP REST API Project Template using Akka HTTP 10.0.4 with Circe 0.7.0 targeting Scala 2.12.x
Stars: ✭ 21 (-53.33%)
Mutual labels:  akka
kotlin-akka
Akka-Kotlin sample, and support library.
Stars: ✭ 25 (-44.44%)
Mutual labels:  akka
wasp
WASP is a framework to build complex real time big data applications. It relies on a kind of Kappa/Lambda architecture mainly leveraging Kafka and Spark. If you need to ingest huge amount of heterogeneous data and analyze them through complex pipelines, this is the framework for you.
Stars: ✭ 19 (-57.78%)
Mutual labels:  akka
further-cdi
🔊 Going further with CDI presentation
Stars: ✭ 28 (-37.78%)
Mutual labels:  camel
akka-jwt
Library for jwt authentication with akka
Stars: ✭ 16 (-64.44%)
Mutual labels:  akka
mmqtt
An Open-Source, Distributed MQTT Broker for IoT.
Stars: ✭ 58 (+28.89%)
Mutual labels:  akka
akka-doc-ja
Akka Japanese Documentation
Stars: ✭ 25 (-44.44%)
Mutual labels:  akka
Akka
Examples and explanations of how Akka toolkit works
Stars: ✭ 20 (-55.56%)
Mutual labels:  akka
scala-akka
OpenTracing instrumentation for Scala Akka
Stars: ✭ 16 (-64.44%)
Mutual labels:  akka
camel-k-examples
Apache Camel K Examples
Stars: ✭ 48 (+6.67%)
Mutual labels:  camel
chordial
A simple Scala implementation of Chord, a distributed lookup protocol
Stars: ✭ 24 (-46.67%)
Mutual labels:  akka
crowd-admin
crowd-admin是一个基于Spring,Shiro,Redis/ehcache,Mybatis的通用后台权限管理系统,这里推荐本人另一个基于sprinboot的单点登录系统
Stars: ✭ 51 (+13.33%)
Mutual labels:  activemq
akka-cluster-minimal
Akka Cluster - absolute minimal
Stars: ✭ 16 (-64.44%)
Mutual labels:  akka

Microservice example

Example of a microservice with Scala, Akka, Spray and Camel/ActiveMQ. Based on one of the Typesafe Activator templates.

Project contains:

  • Easy to test Akka system with a sample actor
  • Spray-based RESTful API with full CORS support
  • Actor and API sample tests
  • Camel/ActiveMQ extension for a handy integration with Akka system
  • Typesafe config with different profiles for production and testing environments
  • Logback-SLF4J logging
  • Sbt assembly plugin for JAR-file creation with custom merge strategy

API structure

POST /api/example1/test                           (Example1Routes)
GET  /api/example1/done                           (Example1Routes)
GET  /api/example1/service/{serviceID}/{command}  (Example1Routes)
GET  /api/example2                                (Example2Routes)

Build & Run

To run simply use:

sbt run

Run tests with:

sbt test

To build & run:

sbt assembly

And then run JAR as usual, something like this:

nohup java -jar target/scala-2.11/akka-microservice-assembly-1.0.jar 1>/dev/null 2>&1 &
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].