-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce stream_ttl #222
base: main
Are you sure you want to change the base?
Introduce stream_ttl #222
Changes from all commits
36900cc
d74f85b
fc933df
3bf9fd6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,6 +73,12 @@ contributor: | |
org: The Walt Disney Company | ||
email: [email protected] | ||
|
||
- | ||
ins: T. Raibhandare | ||
name: Tushar Raibhandare | ||
org: Google | ||
email: [email protected] | ||
|
||
normative: | ||
CLIENTCRED: | ||
author: | ||
|
@@ -85,6 +91,17 @@ normative: | |
target: https://tools.ietf.org/html/rfc6749#section-4.4 | ||
title: The OAuth 2.0 Authorization Framework - Client Credentials Grant | ||
|
||
EXPIRES_IN: | ||
author: | ||
- ins: D. Hardt | ||
name: D. Hardt | ||
date: October 2012 | ||
seriesinfo: | ||
DOI: 10.17487/RFC6749 | ||
RFC: '6749' | ||
target: https://datatracker.ietf.org/doc/html/rfc6749#appendix-A.14 | ||
title: The OAuth 2.0 Authorization Framework - "expires_in" Syntax | ||
|
||
OpenID.Core: | ||
author: | ||
- ins: N. Sakimura | ||
|
@@ -929,6 +946,19 @@ description | |
This is useful in multi-stream systems to identify the stream for human actors. The | ||
transmitter MAY truncate the string beyond an allowed max length. | ||
|
||
stream_ttl | ||
|
||
> **Transmitter-Supplied**, OPTIONAL. The refreshable lifetime of the stream in seconds, after which the Transmitter MAY either pause or disable the stream if it has not received any Receiver-initiated communication (defined below) in that duration. The syntax is the same as that of {{EXPIRES_IN}}. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You might want to expand the acronym "TTL" somewhere in the description. You say it precisely in the first sentence, but you just don't say what "TTL" stands for. It'll help clarify the name even though most folks will know what it is. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is the right behavior "pause or disable", or just "delete"? |
||
> | ||
> For PUSH streams, the Transmitter MUST refresh the TTL whenever: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Might be better to write this as: "For streams created with the PUSH {{RFC8935}} delivery method..." |
||
> * The Receiver calls any endpoint in the Event Stream Management API ({{management}}). | ||
> | ||
> For POLL streams, the Transmitter MUST refresh the TTL whenever: | ||
> * The Receiver polls the Transmitter for events. | ||
> * The Receiver calls any endpoint in the Event Stream Management API ({{management}}). | ||
> | ||
> If the Transmitter decides to update the stream, it MUST send a Stream Updated Event to the Receiver as described in {{status}}. | ||
|
||
TODO: consider adding a IANA Registry for stream configuration metadata, similar | ||
to Section 7.1.1 of {{RFC8414}}. This would allow other specs to add to | ||
the stream configuration. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you don't need to describe an RFC. You can just add its number and the kramdown tool will do the rest.