Eclipse Ditto :: Services :: Utils :: Akka Utils

Eclipse Ditto is a framework for creating and managing digital twins in the IoT.

License

License

Categories

Categories

CLI User Interface Akka Container Microservices Reactive libraries
GroupId

GroupId

org.eclipse.ditto
ArtifactId

ArtifactId

ditto-services-utils-akka
Last Version

Last Version

2.0.0-M2
Release Date

Release Date

Type

Type

jar
Description

Description

Eclipse Ditto :: Services :: Utils :: Akka Utils
Eclipse Ditto is a framework for creating and managing digital twins in the IoT.

Download ditto-services-utils-akka

How to add to project

<!-- https://jarcasting.com/artifacts/org.eclipse.ditto/ditto-services-utils-akka/ -->
<dependency>
    <groupId>org.eclipse.ditto</groupId>
    <artifactId>ditto-services-utils-akka</artifactId>
    <version>2.0.0-M2</version>
</dependency>
// https://jarcasting.com/artifacts/org.eclipse.ditto/ditto-services-utils-akka/
implementation 'org.eclipse.ditto:ditto-services-utils-akka:2.0.0-M2'
// https://jarcasting.com/artifacts/org.eclipse.ditto/ditto-services-utils-akka/
implementation ("org.eclipse.ditto:ditto-services-utils-akka:2.0.0-M2")
'org.eclipse.ditto:ditto-services-utils-akka:jar:2.0.0-M2'
<dependency org="org.eclipse.ditto" name="ditto-services-utils-akka" rev="2.0.0-M2">
  <artifact name="ditto-services-utils-akka" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.eclipse.ditto', module='ditto-services-utils-akka', version='2.0.0-M2')
)
libraryDependencies += "org.eclipse.ditto" % "ditto-services-utils-akka" % "2.0.0-M2"
[org.eclipse.ditto/ditto-services-utils-akka "2.0.0-M2"]

Dependencies

compile (10)

Group / Artifact Type Version
org.eclipse.ditto : ditto-json jar 2.0.0-M2
org.eclipse.ditto : ditto-model-base jar 2.0.0-M2
org.eclipse.ditto : ditto-model-namespaces jar 2.0.0-M2
org.eclipse.ditto : ditto-services-utils-config jar 2.0.0-M2
org.eclipse.ditto : ditto-services-utils-metrics jar 2.0.0-M2
com.typesafe.akka : akka-actor_2.13 jar 2.6.13
com.typesafe.akka : akka-stream_2.13 jar 2.6.13
org.slf4j : slf4j-api jar 1.7.30
org.eclipse.ditto : ditto-services-models-streaming jar 2.0.0-M2
org.eclipse.ditto : ditto-signals-commands-common jar 2.0.0-M2

provided (4)

Group / Artifact Type Version
com.typesafe.akka : akka-persistence_2.13 jar 2.6.13
com.google.code.findbugs : jsr305 jar 3.0.2
org.eclipse.ditto : ditto-utils-jsr305 jar 2.0.0-M2
org.eclipse.ditto : ditto-legal jar 2.0.0-M2

Project Modules

There are no modules declared in this project.
Ditto Logo

Eclipse Ditto™

Join the chat at https://gitter.im/eclipse/ditto Build Status Maven Central Docker pulls License Lines of code

Eclipse Ditto™ is a technology in the IoT implementing a software pattern called “digital twins”.
A digital twin is a virtual, cloud based, representation of his real world counterpart (real world “Things”, e.g. devices like sensors, smart heating, connected cars, smart grids, EV charging stations, …).

An ever growing list of adopters makes use of Ditto as part of their IoT platforms - if you're as well using it, it would be super nice to show your adoption here.

Documentation

Find the documentation on the project site: https://eclipse.org/ditto/

Getting started

In order to start up Ditto via Docker Compose, you'll need:

  • a running Docker daemon
  • Docker Compose installed

You also have other possibilities to run Ditto, please have a look here to explore them.

Start Ditto

In order to start the latest built Docker images from Docker Hub, simply execute:

cd deployment/docker/
docker-compose up -d

Check the logs after starting up:

docker-compose logs -f

Open following URL to get started: http://localhost:8080
Or have a look at the "Hello World"

Build and start Ditto locally

In order to build Ditto, you'll need

  • JDK 11 >= 11.0.5 and
  • Apache Maven 3.x installed.

In order to first build Ditto and then start the built Docker images.

1. Build Ditto with Maven

mvn clean install

2. Build local Ditto Docker snapshot images

./build-images.sh

If your infrastructure requires a proxy, its host and port can be set using the -p option like for example:

./build-images.sh -p 172.17.0.1:3128

Please note that the given host and port automatically applies for HTTP and HTTPS.

3. Start Ditto with local snapshot images

cd ../deployment/docker/
# the "dev.env" file contains the SNAPSHOT number of Ditto, copy it to ".env" so that docker compose uses it:
cp dev.env .env
docker-compose up -d

Check the logs after starting up:

docker-compose logs -f

You have now running:

  • a MongoDB as backing datastore of Ditto (not part of Ditto but started via Docker)
  • Ditto microservices:
    • Policies
    • Things
    • Things-Search
    • Gateway
    • Connectivity
    • Concierge
  • an nginx acting as a reverse proxy performing a simple "basic authentication" listening on port 8080
org.eclipse.ditto

Eclipse Foundation

Versions

Version
2.0.0-M2
2.0.0-M1
1.5.1
1.5.0
1.4.0
1.3.0
1.2.1
1.2.0
1.1.5
1.1.3
1.1.2
1.1.1
1.1.0
1.1.0-M2
1.0.0
1.0.0-M4
1.0.0-M3
1.0.0-M2
1.0.0-M1a
0.9.0
0.9.0-M2
0.9.0-M1
0.8.0
0.8.0-M3
0.8.0-M2c
0.8.0-M2b
0.8.0-M1
0.3.0-M2
0.3.0-M1
0.2.0-M1
0.1.0-M3
0.1.0-M1
0.1.0M0b