You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vuepress/docs/docs/README.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -79,8 +79,8 @@ The first thing we need to do is starting the Shard Manager. This component is a
79
79
To make it simpler and run our example without 3rd parties, we're going to run a simple `PodsHealth` implementation that just pings a pod to see if it's alive, and in-memory `Storage`.
80
80
We need a proper messaging protocol to communicate with pods, so we're going to use `shardcake-protocol-grpc`.
The Shard Manager exposes a small GraphQL API, which means we need to start a small webserver. This can be done by calling `Server.run` and providing all the required dependencies.
86
86
```scala
@@ -107,8 +107,8 @@ We now need to define our **entity behavior**: what kind of messages can our ent
Copy file name to clipboardExpand all lines: vuepress/docs/docs/customization.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ For testing, you can use the `Storage.memory` layer that keeps data in memory.
28
28
29
29
Shardcake provides an implementation of `Storage` using Redis with the Redis4cats library (there's also an alternative using Redisson). To use it, add the following dependency:
You can then simply use the `GrpcPods.live` layer.
91
91
@@ -106,7 +106,7 @@ For testing, you can use the `Serialization.javaSerialization` layer that uses J
106
106
107
107
Shardcake provides an implementation of `Serialization` using the [Kryo](https://github.com/EsotericSoftware/kryo) binary serialization library. To use it, add the following dependency:
You can then simply use the `K8sPodsHealth.live` layer. This is requiring a `Pods` layer that comes from [zio-k8s](https://coralogix.github.io/zio-k8s/docs/overview/overview_gettingstarted).
0 commit comments