nats-io / nats-architecture-and-design

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

js simplification ADR #176

Closed aricart closed 11 months ago

aricart commented 1 year ago

This is the formalization of the JetStream simplification goals into the ADR. Some details still missing on the options but drawing the line in the sand.

scottf commented 1 year ago

It would be nice to add in the part about the Consume payload not just being a message, but an object/tuple whatever

aricart commented 1 year ago

It would be nice to add in the part about the Consume payload not just being a message, but an object/tuple whatever

This is language specific.

scottf commented 1 year ago

It would be nice to add in the part about the Consume payload not just being a message, but an object/tuple whatever

This is language specific.

Agreed the implementation is language specific. I'd just like to call it out specifically in the doc that the behavior is required.

aricart commented 1 year ago

@Jarema @piotrpio @scottf added an initial discussion of the options - note that there are some edge conditions which will need to address.