nats-io / nats-architecture-and-design

Architecture and Design Docs
Apache License 2.0
187 stars 20 forks source link

Support header only consumers #61

Closed ripienaar closed 1 year ago

ripienaar commented 2 years ago

Overview

Consumers have an option to enable delivering just headers. When delivering just headers an additional header Nats-Msg-Size is added indicating the size of the omitted body.

Server PR https://github.com/nats-io/nats-server/pull/2596 Schemas in https://github.com/nats-io/jsm.go/pull/333

These features are required for ADR-8

Clients and Tools

Other Tasks

Client authors please update with your progress. If you open issues in your own repositories as a result of this request, please link them to this one by pasting the issue URL in a comment or main issue description.

bruth commented 1 year ago

Python implemented in https://github.com/nats-io/nats.py/pull/216 Docs PR here; https://github.com/nats-io/nats.docs/pull/482