AsyncAPI Spec 2.6.0 Release Notes

Azeez Elegbede

Azeez Elegbede

·1 min read

The new version of the AsyncAPI specification - 2.6.0 - is now available.

This is a minor release and doesn't bring any breaking changes. You can switch to it by modifying the following value in your AsyncAPI file asyncapi: '2.5.0' into asyncapi: '2.6.0'

Added Pulsar Bindings and Protocol to AsyncAPI specification

The specification now supports a new custom protocol through the bindings feature called Pulsar.

Here is an example of the server representation in Pulsar:

1servers:
2  production:
3    bindings:
4      pulsar:
5        tenant: contoso
6        bindingVersion: '0.1.0'

And also an example of the channel representation in Pulsar:

1channels:
2  user-signedup:
3    bindings:
4      pulsar:
5        namespace: 'staging'
6        persistence: 'persistent'
7        compaction: 1000
8        geo-replication:
9          - 'us-east1'
10          - 'us-west1'
11        retention:
12          time: 7
13          size: 1000
14        ttl: 360
15        deduplication: false
16        bindingVersion: '0.1.0'

Thanks to Alex Wichmann for this incredible feature. For more details, check out this Pulsar bindings pull request and the binding definition.

Photo by Clem Onojeghuo: https://www.pexels.com/photo/low-angle-photography-of-metal-building-on-grayscale-175771/