-
Notifications
You must be signed in to change notification settings - Fork 47
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
Improvements for reactive messaging doc #7260
Comments
7260-Improvements for reactive messaging doc-1 #7260
7260-Improvements for reactive messaging doc-2 #7260
Hi David @dmuelle Incorporated comments. Regards, |
Peer reviewHi Ram- this is looking much better. Just a few suggestions. Optimizing asynchronous communication with MicroProfile Reactive MessagingThe intro paragraph you added does a great job of setting the context and identifying the value for users. However- it's still a bit wordy. Try to revise it to use more direct language, with more concise sentences that use fewer words in fewer clauses. Also, try to avoid using expletive clauses with no clear referent ("It is..."). For example:
--->
There's also at least one typo in the paragraph. I'd recommend moving the first sentence of the next section to be the 2nd to last sentence of the introduction, eg
Configure the Liberty-Kafka connectorThis is a sentence fragment- revise to be a complete sentence:
2. Configuring microservices for Kafka messaging with Liberty-Kafka connectorRevise to remove expletive "it is" clause:
The incoming section doesn't provide any explanation for the deserializer proeprties- were these previously in the doc? They should be defined or explained somehow. Revise to use active voice:
Run acrolinx here and fix error:
Combine the two "For more information... " sentences, use a bulleted list if needed. 3. Include Kafka client librariesThe bulleted list in the intro explains how you would want to use a shared library but it should tell you why, so the user can make an informed decision about which method to use.
Liberty-Kafka connector options and channel propertiesI think we need to rethink this page.
Managing incoming channels with Liberty-Kafka connector propertiesThe intro paragraph here is not specific to incoming properties but just repeats the general info from the page intro. Needs an introductory sentence for any tables though, for a11y purposes. Kafka connector security configuration
Does one server support multiple protocols? Im not sure but this sounds like yes. Need to confirm whether thats the case and revise as needed. Secure Sockets Layer (SSL)mention after the example that it configures and truststore location and password that are required for a secure connection. Also- does this section apply to TLS or just SSL? We should clarify as SSL is technically deprecated, though the term is still widely used. Mutual TLS (mTLS)
Why is the truststore location specified twice? |
7260-Improvements for reactive messaging doc-3 #7260
Hi David @dmuelle Incorporated most of the comments. I have not done the same for : Regards, |
This paragraph could still be more concise: Highly distributed and event-driven application architectures need to manage data transfer between system components responsively. Reactive messaging patterns enable applications to send, receive, and process messages asynchronously. By decoupling system components, this method enhances scalability and resilience. Open Liberty incorporates this paradigm with its MicroProfile Reactive Messaging support. By using MicroProfile Config properties to configure reactive messaging channels in Open Liberty, it is possible to facilitate the administration and specification of how your applications interact with message brokers like Kafka. By configuring this setting, you can precisely tailor the behavior of reactive messaging to the requirements of your application, which facilitates streamlined data processing and communication. For more information, see MicroProfile Config properties for MicroProfile Reactive Messaging. ---> Reactive messaging patterns enhance scalability and resilience by enabling applications to send, receive, and process messages asynchronously. Open Liberty incorporates this paradigm with its MicroProfile Reactive Messaging support. You can use MicroProfile Config properties to configure reactive messaging channels in Open Liberty and control how your applications interact with message brokers like Kafka. By configuring this setting, you can precisely tailor the behavior of reactive messaging to the requirements of your application. For more information, see MicroProfile Config properties for MicroProfile Reactive Messaging. THere's no instruction to enbale the reactive messaging feature, though you can't use RM without it. This should be step 1 The application Although Acrolinx doesn't flag it- this is a sentence fragment:
For more information:---> For more information, see the following resources:
|
7260-Improvements for reactive messaging doc-4 #7260
7260-Improvements for reactive messaging doc-5 #7260
Liberty-Kafka connector options and channel properties
|
7260-Improvements for reactive messaging doc-6 #7260
Hi Incorporated comments. Regards, |
7260-Improvements for reactive messaging doc-7 #7260
we need to review the reactive messaging page and it's children top-to-bottom to make the overall story more concise and clear. There are redundancies among the existing pages that need to be removed or mitigated, and the information should align better with our guides for reactive.
Optimizing asynchronous communication with MicroProfile Reactive Messaging
Intro
Provide an additional paragraph (~3-5 sentences) to set the context for reactive messaging. Refer to https://openliberty.io/guides/microprofile-reactive-messaging.html#what-youll-learn andn https://openliberty.io/guides/microprofile-reactive-messaging.html#configuring-the-microprofile-reactive-messaging-connectors-for-kafka for context.
explain that reactive messaging channels in Open Liberty are configured by setting MicroProfile Config properties and link to the reactive msg config properties table.
Configure the Liberty-Kafka connector
liberty-kafka
connector ---> Liberty-Kafka connector, except in code examplesSending and receiving messages among applications by using connectors
This section is really just a more detailed version of step 2. Instead of a separate section, integrate this information into step 2. Look for opportunities to remove any redundancies. So step 2 should show the minimal config, as it does now, and then detail common configuration options that are discussed in this section.
Troubleshooting
Im not sure this section is even needed- can this information be integrated into other sections of the page? Eg
group.id
shows up in the examples, Multiple Reactive Messaging applications using the same Kafka server is discussed in the shared libraries section.Liberty-Kafka connector options and channel properties
Kafka connector security configuration
--> Liberty-Kafka connector security configuration
For configuring the Kafka connector and security in Open Liberty, you can focus on the distinction between channel-specific and connector-wide properties for tailored messaging behavior.
--->
You can configure security for reactive messaging channels at both the channel level and the connector level.
I think these are protocols, not auth methods. And "For security" seems redundant. Try to revise this sentence to describe what is supported and what its for.
I think this one needs revision too. I know "make sure" was probably a way to get around saying "ensure", which acrolinx flags, but it's awkward here. The whole sentence can be more direct.
Does the user configure multiple methods? I dont think the conclusion paragraph here is really adding anything
The text was updated successfully, but these errors were encountered: