Skip to content

Instantly share code, notes, and snippets.

@derberg
Last active July 31, 2020 08:57
Show Gist options
  • Save derberg/2aad4408c293d1156f060c097d913689 to your computer and use it in GitHub Desktop.
Save derberg/2aad4408c293d1156f060c097d913689 to your computer and use it in GitHub Desktop.
asyncapi: 2.0.0
info:
title: Example with Avro
version: 0.1.0
channels:
example:
publish:
message:
schemaFormat: 'application/vnd.apache.avro;version=1.9.0'
payload: # The following is an Avro schema in YAML format (JSON format is also supported)
type: record
doc: User information
fields:
- name: displayName
type: string
- name: email
type: string
- name: age
type: int
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment