Skip to content

Commit

Permalink
Various clusters.json: Make CSL and FSM mode flags both false (#323)
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Jing Vincent Yan <yyan82@bloomberg.net>
  • Loading branch information
kaikulimu authored Jun 14, 2024
1 parent 4296e34 commit ffdb079
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 116 deletions.
228 changes: 114 additions & 114 deletions docker/cluster/config/clusters.json
Original file line number Diff line number Diff line change
@@ -1,119 +1,119 @@
{
"myClusters": [
{
"name": "planets",
"clusterAttributes": {
"isCSLModeEnabled": true,
"isFSMWorkflow": false
},
"nodes": [
"myClusters": [
{
"id": 1,
"dataCenter": "WHO",
"name": "gallifrey",
"transport": {
"tcp": {
"endpoint": "tcp://gallifrey:30114"
"name": "planets",
"clusterAttributes": {
"isCSLModeEnabled": false,
"isFSMWorkflow": false
},
"nodes": [
{
"id": 1,
"dataCenter": "WHO",
"name": "gallifrey",
"transport": {
"tcp": {
"endpoint": "tcp://gallifrey:30114"
}
}
},
{
"id": 2,
"dataCenter": "WHO",
"name": "skaro",
"transport": {
"tcp": {
"endpoint": "tcp://skaro:30114"
}
}
},
{
"id": 3,
"dataCenter": "HYPERION",
"name": "pacem",
"transport": {
"tcp": {
"endpoint": "tcp://pacem:30114"
}
}
},
{
"id": 4,
"dataCenter": "HYPERION",
"name": "lusus",
"transport": {
"tcp": {
"endpoint": "tcp://lusus:30114"
}
}
}
],
"partitionConfig": {
"name": "local",
"flushAtShutdown": true,
"location": "/var/local/bmq/storage",
"maxArchivedFileSets": 0,
"maxDataFileSize": 268435456,
"maxJournalFileSize": 67108864,
"maxQlistFileSize": 8388608,
"numPartitions": 1,
"preallocate": false,
"prefaultPages": false,
"archiveLocation": "/var/local/bmq/storage/archive",
"syncConfig": {
"fileChunkSize": 4194304,
"masterSyncMaxDurationMs": 600000,
"maxAttemptsStorageSync": 3,
"partitionSyncDataReqTimeoutMs": 120000,
"partitionSyncEventSize": 4194304,
"partitionSyncStateReqTimeoutMs": 120000,
"startupRecoveryMaxDurationMs": 1200000,
"startupWaitDurationMs": 60000,
"storageSyncReqTimeoutMs": 300000
}
},
"masterAssignment": "E_LEADER_IS_MASTER_ALL",
"elector": {
"electionResultTimeoutMs": 4000,
"heartbeatBroadcastPeriodMs": 2000,
"heartbeatCheckPeriodMs": 1000,
"heartbeatMissCount": 10,
"initialWaitTimeoutMs": 8000,
"leaderSyncDelayMs": 80000,
"maxRandomWaitTimeoutMs": 3000,
"quorum": 0
},
"queueOperations": {
"ackWindowSize": 500,
"assignmentTimeoutMs": 15000,
"closeTimeoutMs": 300000,
"configureTimeoutMs": 300000,
"consumptionMonitorPeriodMs": 30000,
"keepaliveDurationMs": 1800000,
"openTimeoutMs": 300000,
"reopenMaxAttempts": 10,
"reopenRetryIntervalMs": 5000,
"reopenTimeoutMs": 43200000,
"shutdownTimeoutMs": 20000,
"stopTimeoutMs": 10000
},
"clusterMonitorConfig": {
"maxTimeLeader": 60,
"maxTimeMaster": 120,
"maxTimeNode": 120,
"maxTimeFailover": 240,
"thresholdLeader": 30,
"thresholdMaster": 60,
"thresholdNode": 60,
"thresholdFailover": 120
},
"messageThrottleConfig": {
"lowThreshold": 2,
"highThreshold": 4,
"lowInterval": 1000,
"highInterval": 3000
}
}
},
{
"id": 2,
"dataCenter": "WHO",
"name": "skaro",
"transport": {
"tcp": {
"endpoint": "tcp://skaro:30114"
}
}
},
{
"id": 3,
"dataCenter": "HYPERION",
"name": "pacem",
"transport": {
"tcp": {
"endpoint": "tcp://pacem:30114"
}
}
},
{
"id": 4,
"dataCenter": "HYPERION",
"name": "lusus",
"transport": {
"tcp": {
"endpoint": "tcp://lusus:30114"
}
}
}
],
"partitionConfig": {
"name": "local",
"flushAtShutdown": true,
"location": "/var/local/bmq/storage",
"maxArchivedFileSets": 0,
"maxDataFileSize": 268435456,
"maxJournalFileSize": 67108864,
"maxQlistFileSize": 8388608,
"numPartitions": 1,
"preallocate": false,
"prefaultPages": false,
"archiveLocation": "/var/local/bmq/storage/archive",
"syncConfig": {
"fileChunkSize": 4194304,
"masterSyncMaxDurationMs": 600000,
"maxAttemptsStorageSync": 3,
"partitionSyncDataReqTimeoutMs": 120000,
"partitionSyncEventSize": 4194304,
"partitionSyncStateReqTimeoutMs": 120000,
"startupRecoveryMaxDurationMs": 1200000,
"startupWaitDurationMs": 60000,
"storageSyncReqTimeoutMs": 300000
}
},
"masterAssignment": "E_LEADER_IS_MASTER_ALL",
"elector": {
"electionResultTimeoutMs": 4000,
"heartbeatBroadcastPeriodMs": 2000,
"heartbeatCheckPeriodMs": 1000,
"heartbeatMissCount": 10,
"initialWaitTimeoutMs": 8000,
"leaderSyncDelayMs": 80000,
"maxRandomWaitTimeoutMs": 3000,
"quorum": 0
},
"queueOperations": {
"ackWindowSize": 500,
"assignmentTimeoutMs": 15000,
"closeTimeoutMs": 300000,
"configureTimeoutMs": 300000,
"consumptionMonitorPeriodMs": 30000,
"keepaliveDurationMs": 1800000,
"openTimeoutMs": 300000,
"reopenMaxAttempts": 10,
"reopenRetryIntervalMs": 5000,
"reopenTimeoutMs": 43200000,
"shutdownTimeoutMs": 20000,
"stopTimeoutMs": 10000
},
"clusterMonitorConfig": {
"maxTimeLeader": 60,
"maxTimeMaster": 120,
"maxTimeNode": 120,
"maxTimeFailover": 240,
"thresholdLeader": 30,
"thresholdMaster": 60,
"thresholdNode": 60,
"thresholdFailover": 120
},
"messageThrottleConfig": {
"lowThreshold": 2,
"highThreshold": 4,
"lowInterval": 1000,
"highInterval": 3000
}
}
],
"proxyClusters": []
],
"proxyClusters": []
}
2 changes: 1 addition & 1 deletion docker/single-node/config/clusters.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "local",
"clusterAttributes": {
"isCSLModeEnabled": true,
"isCSLModeEnabled": false,
"isFSMWorkflow": false
},
"nodes": [
Expand Down
2 changes: 1 addition & 1 deletion src/applications/bmqbrkr/etc/clusters.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"name": "local",
"clusterAttributes": {
"isCSLModeEnabled": true,
"isCSLModeEnabled": false,
"isFSMWorkflow": false
},
"nodes": [
Expand Down

0 comments on commit ffdb079

Please sign in to comment.