Application Engine Cluster Worker configuration properties
This is a file with listed all additional configuration properties for Application Engine Worker for Netgrif Platform cluster. These properties are extension to Netgrif Application Engine basic configuration properties.
These properties are used to configure Application Engine as a platform cluster worker, and so it contains properties for gRPC, connection to the Admin cluster component and event logging module.
management.endpoint.status
management.endpoint.status.up-statuses
- Type:
List<com.netgrif.grpc.NodeStatus>
Node statuses that indicates UP health status.
netgrif.cloud.observability.config
netgrif.cloud.observability.config.metrics
- Type:
List<com.netgrif.application.engine.cluster.observability.config.MetricConfig>
A list of metric configurations to be used in the application.
netgrif.worker.events.cluster
netgrif.worker.events.cluster.allowed-events
- Type:
List<String>
A list of allowed event names that can be processed by the cluster.
netgrif.worker.events.cluster.topics
- Type:
Map<String,java.lang.String>
A map of cluster event topics. The key is a topic identifier, and the value is the corresponding topic name.
netgrif.worker.node
netgrif.worker.node.admin-node.grpc-port
- Type:
Integer - Default value: 0
Port of the admin node for gRPC connections.
netgrif.worker.node.admin-node.host
- Type:
String
Host of the admin node for gRPC connections.
netgrif.worker.node.default-rest-port
- Type:
Integer - Default value: 0
The default REST API port if no port is specified. Defaults to 8080.
netgrif.worker.node.grpc
- Type:
com.netgrif.application.engine.grpc.GrpcServerProperties
gRPC server properties for the worker node.
netgrif.worker.node.health-url
- Type:
String - Default value: /manage/health
The health check URL for the worker node. Defaults to "/manage/health".
netgrif.worker.node.host
- Type:
String - Default value: localhost
The host address of the worker node. Defaults to "localhost".
netgrif.worker.node.http-port
- Type:
Integer - Default value: 8080
The REST API port on which the worker node is exposed. Defaults to 8080.
netgrif.worker.node.in-cloud
- Type:
Boolean - Default value: false
Indicates whether the worker node is operating in a cloud environment. Defaults to false.
netgrif.worker.node.management-url
- Type:
String - Default value: /manage
The base path for management endpoints. Defaults to "/manage".
netgrif.worker.node.name
- Type:
String - Default value: NAE
The name of the worker node. Defaults to "NAE".
netgrif.worker.node.node-status
- Type:
com.netgrif.grpc.NodeStatus - Default value: running
The status of the node (e.g., RUNNING, STOPPED). Defaults to NodeStatus.RUNNING.
netgrif.worker.node.node-type
- Type:
com.netgrif.grpc.NodeType - Default value: engine
The type of node (e.g., ENGINE, ADMIN). Defaults to NodeType.ENGINE.
netgrif.worker.node.protocol
- Type:
String - Default value: http
The communication protocol used by the worker node (e.g., HTTP or HTTPS). Defaults to "http".
netgrif.worker.node.root
- Type:
Boolean - Default value: false
Indicates if this node is the root node. Defaults to false.
netgrif.worker.node.task-executor-properties.allow-core-thread-time-out
- Type:
Boolean - Default value: false
Determines whether core threads are allowed to time out. If `true`, core threads will be terminated when idle for longer than {@link #keepAliveSeconds}.
netgrif.worker.node.task-executor-properties.keep-alive-seconds
- Type:
Integer - Default value: 60
The maximum time (in seconds) that excess idle threads will wait before being terminated.
netgrif.worker.node.task-executor-properties.max-pool-size
- Type:
Integer
Maximum number of threads allowed in the thread pool.
netgrif.worker.node.task-executor-properties.size
- Type:
Integer - Default value: 5
Number of threads for executor service.
netgrif.worker.node.task-executor-properties.thread-name-prefix
- Type:
String - Default value: taskExecutor-
A prefix used for naming threads in the executor. Threads are named as `<threadNamePrefix>-<threadNumber>`.
netgrif.worker.node.zone
- Type:
String - Default value: default
The zone in which the worker node is operating. Defaults to "default".
netgrif.worker.node.admin-node
netgrif.worker.node.admin-node.grpc-port
- Type:
Integer - Default value: 0
Port of the admin node for gRPC connections.
netgrif.worker.node.admin-node.host
- Type:
String
Host of the admin node for gRPC connections.
netgrif.worker.node.admin-node
netgrif.worker.node.admin-node.grpc-port
- Type:
Integer - Default value: 0
Port of the admin node for gRPC connections.
netgrif.worker.node.admin-node.host
- Type:
String
Host of the admin node for gRPC connections.
netgrif.worker.node.task-executor-properties
netgrif.worker.node.task-executor-properties.allow-core-thread-time-out
- Type:
Boolean - Default value: false
Determines whether core threads are allowed to time out. If `true`, core threads will be terminated when idle for longer than {@link #keepAliveSeconds}.
netgrif.worker.node.task-executor-properties.keep-alive-seconds
- Type:
Integer - Default value: 60
The maximum time (in seconds) that excess idle threads will wait before being terminated.
netgrif.worker.node.task-executor-properties.max-pool-size
- Type:
Integer
Maximum number of threads allowed in the thread pool.
netgrif.worker.node.task-executor-properties.size
- Type:
Integer - Default value: 5
Number of threads for executor service.
netgrif.worker.node.task-executor-properties.thread-name-prefix
- Type:
String - Default value: taskExecutor-
A prefix used for naming threads in the executor. Threads are named as `<threadNamePrefix>-<threadNumber>`.
netgrif.worker.script.executor
netgrif.worker.script.executor.allow-core-thread-time-out
- Type:
Boolean - Default value: true
Whether core threads can time out and be terminated
netgrif.worker.script.executor.keep-alive-seconds
- Type:
Integer - Default value: 60
Time in seconds that non-core threads will stay idle before termination
netgrif.worker.script.executor.max-pool-size
- Type:
Integer - Default value: 100
Maximum size the thread pool can grow to
netgrif.worker.script.executor.size
- Type:
Integer - Default value: 10
Initial core size of the thread pool
netgrif.worker.script.executor.thread-name-prefix
- Type:
String - Default value: script-exec-
Prefix used for naming threads created by this executor
netgrif.worker.script.logging
netgrif.worker.script.logging.additive-logger
- Type:
Boolean - Default value: true
Specifies whether a logger inherits parent Logger appenders. When set to true, all logs will inherit appenders from parent loggers, i.e. storing to file via RollingFileAppender
netgrif.worker.script.logging.default-log-batch-size
- Type:
Long - Default value: 100
Default batch size for log streaming.
netgrif.worker.script.logging.max-log-entries
- Type:
Integer - Default value: 10000
Size of cache for storing log entries.
