Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
fix: set event-gateway-demo domain extension to .com (second attempt)
Browse files Browse the repository at this point in the history
  • Loading branch information
smoya authored Dec 15, 2021
1 parent 5f10857 commit 93e3f8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deployments/k8s/event-gateway-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Helm chart that installs a demo of the AsyncAPI Event-Gateway.
|-----|------|---------|-------------|
| asyncapi-event-gateway.env.EVENTGATEWAY_ASYNC_API_DOC | string | `"/app/asyncapi.yaml"` | This is where the asyncapi.yaml file is mounted when `--set-file asyncapi-event-gateway.asyncapiFileContent=event-gateway-demo/event-gateway-demo.asyncapi.yaml`. |
| asyncapi-event-gateway.env.EVENTGATEWAY_DEBUG | string | `"true"` | |
| asyncapi-event-gateway.env.EVENTGATEWAY_KAFKA_PROXY_ADDRESS | string | `"event-gateway-demo.asyncapi.org"` | his is the address that points to the DO load balancer in front of the Event-Gateway K8s service. |
| asyncapi-event-gateway.env.EVENTGATEWAY_KAFKA_PROXY_ADDRESS | string | `"event-gateway-demo.asyncapi.com"` | This is the address that points to the DO load balancer in front of the Event-Gateway K8s service. |
| asyncapi-event-gateway.env.EVENTGATEWAY_KAFKA_PROXY_BROKER_FROM_SERVER | string | `"asyncapi-kafka-test"` | Only use `asyncapi-kafka-test` declared server. |
| asyncapi-event-gateway.env.EVENTGATEWAY_KAFKA_PROXY_EXTRA_FLAGS | string | `"dynamic-sequential-min-port=20473"` | Dynamic broker listeners will start on this port. Aiven cluster has, at least, 3 brokers (3 discovered brokers, one of those is known as the bootstrap server (20472)). |
| asyncapi-event-gateway.env.EVENTGATEWAY_KAFKA_PROXY_MESSAGE_VALIDATION_PUBLISH_TO_KAFKA_TOPIC | string | `"event-gateway-demo-validation"` | event-gateway-demo-validation is the topic where validation errors will be published to. The app reads from it and exposes those errors through the ws server. |
Expand Down
2 changes: 1 addition & 1 deletion deployments/k8s/event-gateway-demo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ asyncapi-event-gateway:
# -- Value comes from `--set asyncapi-event-gateway.secret.data.cert=$(base64 ca-file-path)`
EVENTGATEWAY_KAFKA_PROXY_TLS_CA_CHAIN_CERT_FILE: "/etc/certs/ca"
# -- his is the address that points to the DO load balancer in front of the Event-Gateway K8s service.
EVENTGATEWAY_KAFKA_PROXY_ADDRESS: "event-gateway-demo.asyncapi.org"
EVENTGATEWAY_KAFKA_PROXY_ADDRESS: "event-gateway-demo.asyncapi.com"

# -- cert, key and ca set via `--set asyncapi-event-gateway.secret.data.{cert|key|ca}=$(base64 filepath)`
secret:
Expand Down
2 changes: 1 addition & 1 deletion docs/config/kafka.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Some advanced configuration is only available through environment variables.

| Environment variable | Type | Description | Default | Required | examples |
|-----------------------------------------------------|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------|----------|---------------------------------------------------------------------------------------------------------|
| EVENTGATEWAY_KAFKA_PROXY_ADDRESS | string | Address for this proxy. Clients will use this address as host when connecting to the brokers through this proxy, so it should be reachable by your clients. Most probably a domain name. | `0.0.0.0` | No | `event-gateway-demo.asyncapi.org` |
| EVENTGATEWAY_KAFKA_PROXY_ADDRESS | string | Address for this proxy. Clients will use this address as host when connecting to the brokers through this proxy, so it should be reachable by your clients. Most probably a domain name. | `0.0.0.0` | No | `event-gateway-demo.asyncapi.com` |
| EVENTGATEWAY_KAFKA_PROXY_BROKER_FROM_SERVER | string | When set, only the specified server will be considered instead of all servers. | - | No | `name-of-server1`, `server-test` |
| EVENTGATEWAY_KAFKA_PROXY_MESSAGE_VALIDATION_ENABLED | boolean | Enable or disable validation of Kafka messages | `true` | No | `true`, `false` |
| EVENTGATEWAY_KAFKA_PROXY_EXTRA_FLAGS | string | Advanced configuration. Configure any flag from [here](https://github.com/grepplabs/kafka-proxy/blob/4f3b89fbaecb3eb82426f5dcff5f76188ea9a9dc/cmd/kafka-proxy/server.go#L85-L195). Multiple values can be configured by using pipe separation (`\|`) | - | No | `tls-enable=true\|tls-client-cert-file=/opt/var/service.cert\|tls-client-key-file=/opt/var/service.key` |

0 comments on commit 93e3f8d

Please sign in to comment.