Package io.dapr.config
Class Properties
java.lang.Object
io.dapr.config.Properties
Global properties for Dapr's SDK, using Supplier so they are dynamically resolved.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Property<DaprApiProtocol>
Determines if Dapr client should use gRPC or HTTP for Dapr's service method invocation APIs.static Property<DaprApiProtocol>
Determines if Dapr client will use gRPC or HTTP to talk to Dapr's side car.API token for authentication between App and Dapr's side car.GRPC port for Dapr after checking system property and environment variable.Dapr's timeout in seconds for HTTP client reads.HTTP port for Dapr after checking system property and environment variable.IP for Dapr's sidecar.Determines which string encoding is used in Dapr's Java SDK. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SIDECAR_IP
IP for Dapr's sidecar. -
HTTP_PORT
HTTP port for Dapr after checking system property and environment variable. -
GRPC_PORT
GRPC port for Dapr after checking system property and environment variable. -
API_PROTOCOL
Determines if Dapr client will use gRPC or HTTP to talk to Dapr's side car. -
API_METHOD_INVOCATION_PROTOCOL
Determines if Dapr client should use gRPC or HTTP for Dapr's service method invocation APIs. -
API_TOKEN
API token for authentication between App and Dapr's side car. -
STRING_CHARSET
Determines which string encoding is used in Dapr's Java SDK. -
HTTP_CLIENT_READ_TIMEOUT_SECONDS
Dapr's timeout in seconds for HTTP client reads.
-
-
Constructor Details
-
Properties
public Properties()
-