Skip to content

Commit

Permalink
fix pulsar typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Y-Rookie committed Oct 23, 2024
1 parent 0402b27 commit 002fd95
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
5 changes: 0 additions & 5 deletions addons/pulsar/scripts/init-broker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ init_broker() {
fi

initialize_cluster_metadata "$clusterName" "$zookeeperServers" "$webServiceUrl" "$brokerServiceUrl"
quit_script
}

quit_script() {
(curl -sf -XPOST http://127.0.0.1:15020/quitquitquit || true) && exit 0
}

# This is magic for shellspec ut framework.
Expand Down
1 change: 1 addition & 0 deletions addons/pulsar/scripts/start-bookies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ start_bookies() {
fi

OPTS="${OPTS} -Dlog4j2.formatMsgNoLookups=true"
export OPTS
exec bin/pulsar bookie
}

Expand Down
18 changes: 9 additions & 9 deletions addons/pulsar/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -91,21 +91,21 @@ Generate major version of cluster
{{- end }}

{{/*
Define pulsar bookies reovery component definition regex pattern
Define pulsar bookies recovery component definition regex pattern
*/}}
{{- define "pulsar.bkRecoveryCmpdRegexPattern" -}}
^pulsar-bookies-recovery-
{{- end -}}

{{/*
Define pulsar v3.X bookies reovery component definition name
Define pulsar v3.X bookies recovery component definition name
*/}}
{{- define "pulsar3.bkRecoveryCmpdName" -}}
pulsar-bookies-recovery-3-{{ .Chart.Version }}
{{- end -}}

{{/*
Define pulsar v2.X bookies reovery component definition name
Define pulsar v2.X bookies recovery component definition name
*/}}
{{- define "pulsar2.bkRecoveryCmpdName" -}}
pulsar-bookies-recovery-2-{{ .Chart.Version }}
Expand Down Expand Up @@ -154,7 +154,7 @@ Define pulsar v3.X broker component definition regex pattern
{{- end -}}

{{/*
Define pulsar v2.X bookies reovery component definition name
Define pulsar v2.X broker component definition name
*/}}
{{- define "pulsar2.brokerCmpdName" -}}
pulsar-broker-2-{{ .Chart.Version }}
Expand Down Expand Up @@ -182,7 +182,7 @@ pulsar-proxy-3-{{ .Chart.Version }}
{{- end -}}

{{/*
Define pulsar v2.X bookies reovery component definition name
Define pulsar v2.X proxy component definition name
*/}}
{{- define "pulsar2.proxyCmpdName" -}}
pulsar-proxy-2-{{ .Chart.Version }}
Expand Down Expand Up @@ -266,28 +266,28 @@ pulsar-env-constraints
{{- end -}}

{{/*
Define pulsar v3.X bookies recovery config tpl name
Define pulsar v3.X bookies config tpl name
*/}}
{{- define "pulsar3.bookiesConfigTplName" -}}
pulsar3-bookies-config-tpl
{{- end -}}

{{/*
Define pulsar v2.X bookies recovery config tpl name
Define pulsar v2.X bookies config tpl name
*/}}
{{- define "pulsar2.bookiesConfigTplName" -}}
pulsar2-bookies-config-tpl
{{- end -}}

{{/*
Define pulsar v3.X bookies recovery config constraint name
Define pulsar v3.X bookies config constraint name
*/}}
{{- define "pulsar3.bookiesConfigConstraintName" -}}
pulsar3-bookies-config-constraint
{{- end -}}

{{/*
Define pulsar v2.X bookies recovery config constraint name
Define pulsar v2.X bookies config constraint name
*/}}
{{- define "pulsar2.bookiesConfigConstraintName" -}}
pulsar2-bookies-config-constraint
Expand Down

0 comments on commit 002fd95

Please sign in to comment.