-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Changes to RHDEVDOCS-5163: Connecting brokers to event sinks docs #59364
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
Conversation
@shreyasiddhartha: This pull request references RHDEVDOCS-5163 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
🤖 Updated build preview is available at: Build log: https://circleci.com/gh/ocpdocs-previewbot/openshift-docs/16523 |
serverless/eventing/event-sources/serverless-connecting-brokers-sinks.adoc
Outdated
Show resolved
Hide resolved
6f277d3
to
356a4f1
Compare
toc::[] | ||
|
||
Brokers can be used in combination with triggers to deliver events from an event source to an event sink. Events are sent from an event source to a broker as an HTTP `POST` request. After events have entered the broker, they can be filtered by CloudEvent attributes using triggers, and sent as an HTTP `POST` request to an event sink. | ||
|
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.
The title of the assembly is Connecting brokers to sinks but all the 'Includes' talk about creating Triggers for which we have a separate section. Also, these modules are being reused from the Creating Triggers section, which IMHO is not needed.
The main work flow here, I think, is 'Delivering events from an event source to an event sink.'
@pierDipi @gabriel-rh please correct me if I am wrong, but here's my suggestion:
- We should pull out the Event Delivery section from Brokers and create a separate heading for it under Event discovery.
- We should add the content in this PR as the first module in the Event delivery section.
- Rename the module as 'Using brokers and triggers to deliver events'.
- Add an additional resources section in the module and link to https://docs.openshift.com/container-platform/4.13/serverless/eventing/triggers/create-triggers.html
- Make this module the second one: https://docs.openshift.com/container-platform/4.13/serverless/eventing/brokers/serverless-event-delivery.html#trigger-event-delivery-config_serverless-event-delivery. to sustain the flow.
- Keep the other sections as is.
@shreyasiddhartha thank you for your work. Let's wait for Pier to respond before you make the changes. Also, let me know if you would like to discuss this further.
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.
@rhuss request your guidance please, especially considering the comment here: https://docs.google.com/spreadsheets/d/1eYAktpCGQaH5CHeGJ3W3RzQ-k2FvrjP_gLWymxTnMMU/edit#gid=428341185
Please correct me if I am wrong, the way I understand it is that event source, sink, broker, channel, subscription etc. are building blocks that can be used to create a customized event delivery master piece. Ideally our docs focus more on the user story and to my mind, event delivery seems to be the key workflow/user story in Eventing. If this is correct, then I suggest we bring the Event Delivery section on the level of Brokers etc.
I would further suggest that, if Shreya is ok taking this up, to move the event discovery section under the Event Sources section (make it an assembly under event sources) as all the modules under it deal with event sources and not general eventing. So ideally we would have the event delivery section after Subscriptions section.
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.
@shreyasiddhartha we need to add the exact preview link to the description/first comment of your PR to help reviewers: https://59364--docspreview.netlify.app/openshift-enterprise/latest/serverless/eventing/brokers/serverless-connecting-brokers-sinks.html
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.
For 1.
We should pull out the Event Delivery section from Brokers and create a separate heading for it under Event discovery.
I wouldn't put it under Event discovery since Event discovery is a different subject (and we will probably have more content added to it with the future features that we are working on upstream that are cross cutting all other resources).
Ideally our docs focus more on the user story and to my mind, event delivery seems to be the key workflow/user story in Eventing. If this is correct, then I suggest we bring the Event Delivery section on the level of Brokers etc.
I agree with this!
I would further suggest that, if Shreya is ok taking this up, to move the event discovery section under the Event Sources section (make it an assembly under event sources) as all the modules under it deal with event sources and not general eventing. So ideally we would have the event delivery section after Subscriptions section.
I wouldn't do this for now, since new features will have more cross cutting content
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.
Thank you, @pierDipi, so for now we:
- Pull out the Event Delivery section from Brokers and bring the Event Delivery section on the level of Brokers etc. and place it after Subscriptions section.
- Follow steps 2-5 as mentioned in my first comment.
- Let Event Delivery stay as is.
6cf7746
to
4e853d4
Compare
_topic_maps/_topic_map_rosa.yml
Outdated
- Name: Managing subscriptions | ||
File: serverless-subs-managing | ||
- Name: Event delivery | ||
Dir: delivery |
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.
Dir: delivery | |
Dir: event-delivery |
_topic_maps/_topic_map_osd.yml
Outdated
- Name: Managing subscriptions | ||
File: serverless-subs-managing | ||
- Name: Event delivery | ||
Dir: delivery |
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.
Dir: delivery | |
Dir: event-delivery |
4a2da21
to
8e296c6
Compare
8e296c6
to
bc364bc
Compare
* xref:../../../serverless/eventing/triggers/serverless-triggers.adoc#serverless-triggers[Triggers] | ||
xref:../../../serverless/eventing/event-sources/knative-event-sources.adoc#knative-event-sources[Event sources] | ||
* xref:../../../serverless/eventing/brokers/serverless-event-delivery.adoc#serverless-event-delivery[Event delivery] | ||
* xref:../../../serverless/eventing/event-delivery/serverless-event-delivery-parameters-config.adoc#serverless-event-delivery[Event delivery] |
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.
* xref:../../../serverless/eventing/event-delivery/serverless-event-delivery-parameters-config.adoc#serverless-event-delivery[Event delivery] | |
* xref:../../../serverless/eventing/event-delivery/serverless-event-delivery-parameters-config.adoc#serverless-event-delivery-parameters-config[Event delivery] |
ID needs to be updated I think because it was changed and the filename was changed
Change type: Doc update; Connecting brokers to event sinks
Doc JIRA: RHDEVDOCS-5163
Fix Version: Openshift 4.12+
Doc Preview:
SME Review:
QE Review:
Peer Review: