asyncapi: 2.4.0
info:
  title: API Document for Confluent Cluster
  version: 1.0.0
servers:
  confluentSchemaRegistry: []
channels:
  topic03:
    subscribe:
      operationId: Topic2Subscribe
      message:
        $ref: '#/components/messages/Topic03Message'
    x-messageCompatibility: BACKWARD
components:
  messages:
    Topic03Message:
      schemaFormat: application/schema+json;version=draft-07
      contentType: application/json
      payload:
        $id: http://example.com/myURI.schema.json
        $schema: http://json-schema.org/draft-07/schema#
        additionalProperties: false
        description: Sample schema to help you get started.
        properties:
          myField1:
            description: The integer type is used for integral numbers.
            type: integer
          myField2:
            description: The number type is used for any numeric type, either integers
              or floating point numbers.
            type: number
          myField3:
            description: The string type is used for strings of text.
            type: string
        title: SampleRecord
        type: object
      name: Topic03Message
  securitySchemes:
    confluentBroker:
      type: userPassword
      x-configs:
        sasl.mechanisms: PLAIN
        sasl.password: '{{CLUSTER_API_SECRET}}'
        sasl.username: '{{CLUSTER_API_KEY}}'
        security.protocol: sasl_ssl
    confluentSchemaRegistry:
      type: userPassword
      x-configs:
        basic.auth.user.info: '{{SCHEMA_REGISTRY_API_KEY}}:{{SCHEMA_REGISTRY_API_SECRET}}'
