Skip to content

Properly model Bindings in AsyncAPI #569

@Yuutakasan

Description

@Yuutakasan

For example, in the case of Kafka's Server Binding

servers:
  production:
    bindings:
      kafka:
        schemaRegistryUrl: 'https://my-schema-registry.com'
        schemaRegistryVendor: 'confluent'
        bindingVersion: '0.4.0'

but currently there is only one Binding type and it is defined as follows

  • name: Binding
    traits:
    • Extensible
      properties:
    • name: '*'
      type: any
      propertyOrder:
    • $this
    • $Extensible

No restrictions.

I would like to add individual restrictions, but is there a naming convention here?

A sample is provided below.
I would like to make a sample if this is acceptable.

KafkaServersBinding
KafkaChannelBinding
KafkaChannelTopicConfigurationBinding
KafkaOperationBinding
KafkaMessageBinding
https://github.com/asyncapi/bindings/tree/master/kafka

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions