Skip to content

Properly model Bindings in AsyncAPI #569

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/highVery important issues that we should prioritize slightly higher than the default.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions