Skip to content

Commit

Permalink
US-560350 Use stream provider if passed, else default to ExternalKafka
Browse files Browse the repository at this point in the history
  • Loading branch information
arugm authored and arugm committed Sep 28, 2023
1 parent c294802 commit fe30e0a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tomcat-conf/Catalina/localhost/prweb.xml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@
{{ end }}
{{- if .Env.EXTERNAL_STREAM -}}
<Environment name="prconfig/services/stream/validate" value="true" type="java.lang.String"/>
{{- if .ENV.SERVICES_STREAM_PROVIDER -}}
<Environment name="prconfig/services/stream/provider" value="{{ .Env.SERVICES_STREAM_PROVIDER }}" type="java.lang.String" />
{{ else }}
<Environment name="prconfig/services/stream/provider" value="ExternalKafka" type="java.lang.String" />
{{- end }}
<Environment name="prconfig/services/stream/broker/url" value="{{ .Env.STREAM_BOOTSTRAP_SERVERS }}" type="java.lang.String" />
<Environment name="prconfig/services/stream/encryption/security/protocol" value="{{ .Env.STREAM_SECURITY_PROTOCOL }}" type="java.lang.String" />
<Environment name="prconfig/services/stream/encryption/sasl/mechanism" value="{{ .Env.STREAM_SASL_MECHANISM }}" type="java.lang.String" />
Expand Down

0 comments on commit fe30e0a

Please sign in to comment.