Cloudstate Kotlin

Cloudstate Kotlin Support Library

License

License

Categories

Categories

Kotlin Languages
GroupId

GroupId

io.cloudstate
ArtifactId

ArtifactId

cloudstate-kotlin-support
Last Version

Last Version

0.5.2
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

Cloudstate Kotlin
Cloudstate Kotlin Support Library
Source Code Management

Source Code Management

https://github.com/cloudstateio/kotlin-support

Download cloudstate-kotlin-support

Dependencies

compile (1)

Group / Artifact Type Version
io.cloudstate : cloudstate-java-support jar 0.4.7

runtime (5)

Group / Artifact Type Version
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.3.72
org.jetbrains.kotlin : kotlin-reflect jar 1.3.72
net.bytebuddy : byte-buddy jar 1.10.7
net.bytebuddy : byte-buddy-agent jar 1.10.7
org.slf4j : slf4j-api jar 1.7.25

Project Modules

There are no modules declared in this project.

kotlin-support

Cloudstate Kotlin Support

Install the Kotlin Support Library to the local Maven repository

./gradlew build publishToMavenLocal

Examples: build and push container images to a container registry

./gradlew :examples:kotlin-chat:jib

./gradlew :examples:kotlin-pingpong:jib

./gradlew :examples:shopping-cart:jib

EventSourcing example of use

Define your proto

@@snip shoppingcart.proto { #example-shopping-cart-proto }

Write your business logic

@@snip ShoppingCartEntity.kt { #example-shopping-cart-kotlin }

Register your Entity

@@snip Main.kt { #example-shopping-cart-main }

io.cloudstate

Cloudstate

State handling in a serverless world

Versions

Version
0.5.2
0.5.1