- All Superinterfaces:
public interface ActionCreationContext extends Context
Creation context for
This may be accepted as an argument to the constructor of an Action.
getGrpcClientGet an Akka gRPC client for the given service name. The same client instance is shared across components in the application. The lifecycle of the client is managed by the SDK and it should not be stopped by user code.
- Type Parameters:
T- The "service" interface generated for the service by Akka gRPC
clientClass- The class of a gRPC service generated by Akka gRPC
service- The name of the service to connect to, either a name of another Kalix service or an external service where connection details are configured under `akka.grpc.client.[service-name]` in `application.conf`.