Kubernetes Support Configuration Properties
Property Name |
Default Value |
Type |
Description |
---|---|---|---|
|
3 |
int |
How many times should attempt to make the request if the request is failed? If you have configured multiple admin urls, the attempts will be distributed evenly among them. |
|
3_000L |
long (in ms) |
The Constant delay (defined in milliseconds) before every retry attempt. |
|
3_000L |
long (in ms) |
The maximum limit for the delay between retries (To prevent excessive delays). |
|
2 |
int |
The factor by which the delay increases in the exponential policy. |
|
|
String |
The host name for communicate internally. If the service name is not same as the |
|
|
String |
The namespace that the application is deployed. |
|
|
String |
In StackSaga it is necessary to be aware of the location the instance is deployed in the cluster for some reason lime transaction indexing in the event store, retrying etc. therefore |
|
|
String |
In StackSaga it is necessary to be aware of the location the instance is deployed in the cluster for some reason lime transaction indexing in the event store, retrying etc. therefore |
|
|
Duration |
This parameter defines the duration for which a leader lease is held. A leader lease is essentially a lease that grants a node the authority to act as the leader for a specific period. During this lease duration, the leader node is responsible for handling requests and coordinating the actions of other nodes in the cluster. If the leader fails to renew its lease within the specified duration, the leadership is relinquished, and another node can take over as the leader. Setting an appropriate lease duration is crucial to balancing the trade-off between resilience and responsiveness in the system. read more about lease in k8s |
|
|
Duration |
The renewal deadline is the deadline by which the current leader must renew its lease to maintain its leadership status. If the leader fails to renew its lease before this deadline, it forfeits its leadership status, and a new leader may be elected. This parameter helps ensure that leadership transitions occur promptly in the event of leader failures or network partitions. read more about lease in k8s |
|
|
Duration |
This parameter specifies the interval at which nodes attempt to acquire or renew leadership leases if they are not currently the leader. If a node fails to acquire or renew the lease, it will retry after the retry period has elapsed. The retry period helps prevent excessive contention for leadership and provides a mechanism for nodes to recover from transient failures or network issues. read more about lease in k8s |
|
|
int |
how much time should be retried when connection is failed?. if the connection is failed continuously for given times, the application will be terminated. |
|
|
|
There are two profiles available as |
|
|
|
The name of the agent application. It is recommended to use this format: |
|
|
|
The port of the agent service. |
NOTE: Due to StackSaga Mysql-Agent internally uses spring default datasource and HikariCP for managing the connection pool, It can be configured the datasource properties in the same way that spring boot provides. |
|||
|
|
|
The keyspace(Database) name of the event-store. |
|
- |
|
The host name of the target service that retry tasks should be submitted to. |
|
- |
|
The name of the target service. (The transactions are fetched based on this name from the event-store) |
|
|
|
Whether the master service acts as the slave or not. If the cluster is small, you can run one instance and run as the master and as well as the slave. |
|
|
|
core number of threads in the IOPool. |
|
|
|
maximum number of threads in the IOPool. |
|
|
|
the time limit for which threads may remain idle before being terminated. |
|
|
|
the capacity of the queue. |
|
|
|
the maximum time the executor is supposed to block on shutdown. |
|
|
|
core number of threads in the IOPool. |
|
|
|
the time limit for which threads may remain idle before being terminated. |
|
|
|
the capacity of the queue. |
|
|
|
the maximum time the executor is supposed to block on shutdown. |
|
|
|
how long to wait before retrying the transaction at the beginning of the application. |
|
|
|
the fixed rate for retrying the transaction. As per the default value, the transaction retry process is repeated every 60 seconds. The executions are not overlapped even the old execution exceeds the interval |
|
|
|
The name of the target service. The number of transactions that should be fetched from the event-store for each batch. |