Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for kafka endpoint configuration #230

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions charts/rasa-x/templates/rasa-config-files-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ data:
{{- end }}
{{- end }}
{{- end }}
{{- if $.Values.kafka.enabled }}
event_broker:
{{- include "kafka.endpointConfiugration" $ | nindent 6 }}
{{- end }}
action_endpoint:
url: {{ if .Values.app.existingUrl }}"{{ .Values.app.existingUrl }}"{{ else }}"{{ .Values.app.scheme }}://{{ include "rasa-x.fullname" . }}-app.{{ .Release.Namespace }}.svc:{{ template "rasa-x.custom-actions.port" . }}{{ .Values.app.endpoints.actionEndpointUrl }}"{{ end }}
token: ""
Expand Down
39 changes: 39 additions & 0 deletions charts/rasa-x/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -742,6 +742,45 @@ rabbitmq:
# fsGroup: 1001
# runAsUser: 1001

# Kafka specific settings
kafka:
# Enabled should be `true` if a separate kafka instance is used as the event broker
# Note that this does NOT install kafka, it only configures endpoint settingsfor it
enabled: false
endpointConfiguration:
# see https://rasa.com/docs/rasa/event-brokers#kafka-event-broker
# kafka topics to subscribe to
topic: rasa_core_events
# kafka host
url: null
# whether messages are partitioned by sender_id or not
partition_by_sender: False
# whether intent IDs are converted from integers to strings
convert_intent_id_to_string: False
# A name for this client.
client_id: null
# security protocol, one of SASL_PLAINTEXT, SSL, PLAINTEXT and SASL_SSL.
# see https://rasa.com/docs/rasa/event-brokers#authentication-and-authorization
security_protocol: PLAINTEXT
# required settings for SASL & SASL_SSL protocols
# Username for plain authentication.
sasl_username: null
# Password for plain authentication.
sasl_password: null
# Valid values are: PLAIN, GSSAPI, OAUTHBEARER, SCRAM-SHA-256, SCRAM-SHA-512
sasl_mechanism: PLAIN
# required settings for SSL & SASL_SSL protocols
# .pem CA root cert
ssl_cafile: null
# .pem TLS cert
ssl_certfile: null
# .pem TLS key
ssl_keyfile: null
# whether clients should verify if the broker's hostname matches the certificate
ssl_check_hostname: False



# redis specific settings (https://hub.helm.sh/charts/bitnami/redis/10.5.14)
redis:
# Install should be `true` if the redis subchart should be used
Expand Down