Skip to content

Commit

Permalink
Rename groupId
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 committed Jul 25, 2024
1 parent 5dd7da5 commit 9885db6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/streams-app-cleanup-job/templates/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ spec:
value: "{{- range $key, $value := .Values.kafka.extraInputPatterns }}{{ $key }}={{ $value }},{{- end }}"
{{- end }}
{{- if hasKey .Values.kafka "groupId" }}
- name: "{{ .Values.configurationEnvPrefix }}_APPLICATION_ID"
- name: "{{ .Values.configurationEnvPrefix }}_GROUP_ID"
value: {{ .Values.kafka.groupId | quote }}
{{- end }}
{{- range $key, $value := .Values.secrets }}
Expand Down
2 changes: 1 addition & 1 deletion charts/streams-app/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ spec:
value: "{{- range $key, $value := .Values.kafka.extraInputPatterns }}{{ $key }}={{ $value }},{{- end }}"
{{- end }}
{{- if hasKey .Values.kafka "groupId" }}
- name: "{{ .Values.configurationEnvPrefix }}_APPLICATION_ID"
- name: "{{ .Values.configurationEnvPrefix }}_GROUP_ID"
value: {{ .Values.kafka.groupId | quote }}
{{- end }}
{{- range $key, $value := .Values.secrets }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public static void runResetter(final Collection<String> inputTopics, final Colle
final String appId = streamsAppConfig.getAppId();
final File tempFile = createTemporaryPropertiesFile(appId, streamsAppConfig.getKafkaProperties());
final ImmutableList.Builder<String> argList = ImmutableList.<String>builder()
.add("--group-id", appId)
.add("--application-id", appId)
.add("--bootstrap-server", String.join(",", streamsAppConfig.getBoostrapServers()))
.add("--config-file", tempFile.toString());
final Collection<String> existingInputTopics = filterExistingTopics(inputTopics, allTopics);
Expand Down

0 comments on commit 9885db6

Please sign in to comment.