Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 737 Bytes

File metadata and controls

21 lines (13 loc) · 737 Bytes

Hello world - Quarkus example

Sample project configuration of a Restate service using the Java SDK and Quarkus.

Have a look at the Java Quickstart guide for more information on how to use this project.

Starting the service

Check out https://quarkus.io/get-started/ to install quarkus.

To start the service, simply run:

$ quarkus dev

Unit testing

The restate RestateExtension junit extension does currently not work together with quarkus CDI, so you cannot combine @RestateTest with @QuarkusTest, so if you want to use @Inject in unit test with restate services, you must use the RestateRunner directly as shown in the GreeterCdiTest.