Skip to content

Strip unnecessary ClientInfo fields from stream & consumer assignment proposals#6326

Merged
derekcollison merged 1 commit intomainfrom
neil/clientinfos
Jan 6, 2025
Merged

Strip unnecessary ClientInfo fields from stream & consumer assignment proposals#6326
derekcollison merged 1 commit intomainfrom
neil/clientinfos

Conversation

@neilalexander
Copy link
Copy Markdown
Member

This avoids JWTs etc from the client info from being encoded into stream and consumer assignments proposals when they are not needed.

This will reduce the network bandwidth required to send such proposals in some deployments, as well as reducing the memory footprint of proposals queued in memory and the disk footprint required for the metalayer WAL.

Signed-off-by: Neil Twigg neil@nats.io

@neilalexander neilalexander requested a review from a team as a code owner January 6, 2025 14:06
…nt proposals

Signed-off-by: Neil Twigg <neil@nats.io>
@neilalexander
Copy link
Copy Markdown
Member Author

For now I've pulled the pooling out, going to look at that separately.

@derekcollison derekcollison self-requested a review January 6, 2025 15:54
Copy link
Copy Markdown
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@derekcollison derekcollison merged commit c953e99 into main Jan 6, 2025
@derekcollison derekcollison deleted the neil/clientinfos branch January 6, 2025 15:55
wallyqs added a commit that referenced this pull request Jan 9, 2025
#### Dependencies
- #6323
- #6324

####  Leafnode
- #6291

#### JetStream
- #6226
- #6235
- #6277
- #6279
- #6283
- #6289
- #6316
- #6317
- #6325
- #6326
- #6335
- #6338
- #6341
- #6344
- #6150
- #6351
- #6355

#### Tests
- #6278
- #6297
- #6300
- #6343
- #6329
- #6330
- #6331
- #6332
- #6334
- #6356
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants