mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
Update Kafka guidelines
This commit is contained in:
@@ -4,19 +4,19 @@ All AsyncAPI specs **MUST** include a _servers_ section including references to
|
|||||||
|
|
||||||
For example, in Swaggerhub it is possible to refer to those reusable definitions through:
|
For example, in Swaggerhub it is possible to refer to those reusable definitions through:
|
||||||
|
|
||||||
[https://design.api.3stripes.io/domains/adidas/asyncapi\_adoption\_commons/1.0.0](https://design.api.3stripes.io/domains/adidas/asyncapi\_adoption\_commons/1.0.0)
|
[https://design.api.3stripes.io/domains/adidas/cluster-landscape/1.0.0](https://design.api.3stripes.io/domains/adidas/cluster-landscape/1.0.0)
|
||||||
|
|
||||||
more specifically, it is possible to add the right Kafka servers like this:
|
more specifically, it is possible to add the right Kafka servers like this:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
...
|
...
|
||||||
servers:
|
servers:
|
||||||
pivotalDev:
|
playground-dev:
|
||||||
$ref: https://design.api.3stripes.io/v1/domains/adidas/asyncapi_adoption_commons/1.0.0#/components/servers/pivotalDev
|
$ref: https://design.api.3stripes.io/v1/domains/adidas/cluster-landscape/1.0.0#/components/servers/playground-dev
|
||||||
pivotalSit:
|
playground-sit:
|
||||||
$ref: https://design.api.3stripes.io/v1/domains/adidas/asyncapi_adoption_commons/1.0.0#/components/servers/pivotalSit
|
$ref: https://design.api.3stripes.io/v1/domains/adidas/cluster-landscape/1.0.0#/components/servers/playground-sit
|
||||||
pivotalPro:
|
playground-pro:
|
||||||
$ref: https://design.api.3stripes.io/v1/domains/adidas/asyncapi_adoption_commons/1.0.0#/components/servers/pivotalPro
|
$ref: https://design.api.3stripes.io/v1/domains/adidas/cluster-landscape/1.0.0#/components/servers/playground-pro
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user