Skip to content

Instantly share code, notes, and snippets.

@dalelane
dalelane / schemaformat.yaml
Created November 27, 2020 11:50
asyncapi message format
asyncapi: '2.0.0'
...
channels:
my.topic.name:
...
subscribe:
...
message:
...
schemaFormat: 'application/vnd.aai.asyncapi;version=2.0.0'
@dalelane
dalelane / schemaformat.yaml
Created November 27, 2020 11:48
asyncapi message format
asyncapi: '2.0.0'
...
channels:
my.topic.name:
...
subscribe:
...
message:
...
schemaFormat: 'application/vnd.aai.asyncapi;version=2.0.0'
@dalelane
dalelane / schemaformat.yaml
Created November 27, 2020 11:46
asyncapi message format
asyncapi: '2.0.0'
...
channels:
my.topic.name:
...
subscribe:
...
message:
...
schemaFormat: 'application/vnd.aai.asyncapi;version=2.0.0'
@dalelane
dalelane / message-headers.yaml
Created November 27, 2020 11:42
Kafka message headers in asyncapi
asyncapi: '2.0.0'
...
channels:
my.topic.name:
...
subscribe:
...
message:
...
headers:
@dalelane
dalelane / kafka-message.yaml
Created November 27, 2020 11:39
kafka message bindings in asyncapi
asyncapi: '2.0.0'
...
channels:
my.topic.name:
...
subscribe:
...
message:
description: Description of a single message
bindings:
@dalelane
dalelane / kafka-message.yaml
Created November 27, 2020 11:37
message description in asyncapi
asyncapi: '2.0.0'
...
channels:
my.topic.name:
...
subscribe:
...
message:
description: Description of a single message
@dalelane
dalelane / kafka-op-bindings.yaml
Created November 27, 2020 11:34
kafka operation bindings
asyncapi: '2.0.0'
...
channels:
my.topic.name:
description: This is my Kafka topic
subscribe:
...
bindings:
kafka:
groupId:
@dalelane
dalelane / kafka-op-bindings.yaml
Last active November 27, 2020 11:35
kafka operation bindings in asyncapi.yaml
asyncapi: '2.0.0'
...
channels:
my.topic.name:
description: This is my Kafka topic
subscribe:
...
bindings:
kafka:
groupId:
@dalelane
dalelane / kafka-topic-op.yaml
Last active November 27, 2020 11:35
topic operation in asyncapi
asyncapi: '2.0.0'
...
channels:
my.topic.name:
description: This is my Kafka topic
subscribe:
operationId: someUniqueId
summary: Interesting messages
description: You can get really interesting messages from this topic
tags:
@dalelane
dalelane / asyncapi-kafka-topic.yaml
Created November 27, 2020 11:25
topic in asyncapi
asyncapi: '2.0.0'
...
channels:
my.topic.name:
description: This is my Kafka topic
...