This is the administrative guide to Cepheus-Broker.


  • JAVA 8
  • Maven 2 (for building only)
  • OS/CPU supported by Sqlite-JDBC

Building from source

Get the code from the Github:

git clone
cd fiware-cepheus/cepheus-broker

To build a standalone JAR and Debian package, you need maven:

mvn clean package


To install the Cepheus-Broker, you just have to download the standalone JAR.

Download from Sonatype Central repository with Maven

If you have maven, you can run the following command:

mvn dependency:get -DartifactId=cepheus-broker -Dversion=XXXX -Dtransitive=false

where XXXX is the version you want, like 1.0.1-SNAPSHOT or LATEST.

Download from Sonatype Central repository using wget

If you don't have maven installed on your machine, you can still download the standalone JAR using wget or any browser:

wget -O cepheus-broker.jar ""


Cepheus-Broker is a SpringBoot application. You can run either run it directly from the source with maven:

mvn spring-boot:run

or from the standalone JAR:

java -jar cepheus-broker.jar

Debian package

The Cepheus-Broker is also provided in a preconfigured Debian package to ease deployment on Debian and Raspbian systems.


Download the Debian package from Sonatype Central repository using wget:

wget -O cepheus-broker.deb ""


Install using dpkg:

dpkg -i cepheus-broker.deb

The package will automatically:

  • place the standalone JAR under /usr/lib/cepheus
  • setup configuration file under /etc/cepheus/
  • add a cepheus-broker init.d startup script under /etc/init.d/cepheus-broker
  • start the cepheus-broker on startup of the machine on port 8081
  • put logs under /var/log/cepheus/broker.log


To start and stop the Cepheus-Broker daemon, use the common service command:

service cepheus-broker start
service cepheus-broker stop
service cepheus-broker restart


You modify some application settings either editing:

  • the src/main/resources/ file when building from the source,
  • an external configuration like /etc/cepheus/ from the Debian package.

This is a short list of the application properties:

NameDescriptionDefault Value
server.portbroker port8081
local.urlpublic URL to this instancehttp://localhost:8081
remote.urlURL to the remote broker (Orion)http://localhost:8082
remote.serviceNameremote broker Service Name
remote.servicePathremote broker Service Path
remote.authTokenOAuth token for secured broker
remote.forward.updateContextupdateContext forwarding to remote brokertrue levelINFO
spring.datasource.urlDataBase urljdbc:sqlite:${}/cepheus-broker.db

Please look at the src/main/resources/ for all the properties and their default values.

Command line parameters

You can modify all the application properties from the command line:

java -jar cepheus-broker.jar --property=value


java -jar cepheus-broker.jar --server.port=8081

External configuration file

If you want to customize application properties after the application has been packaged, you can override the default properties in an external properties file.

You can either:

  • Put a in the current path . or under ./config/,
  • or specify a custom location for the file using --spring.config.location:

    java -jar cepheus-broker.jar --spring.config.location=/etc/cepheus/

Metrics and health

You can enable the Spring Boot Actuator /infos, /health and /metrics endpoints with these application properties:

User guide

The complete user & programming guide can be found here