Skip to content

Commit

Permalink
6928 documentation of mp reactive messaging stream operators 3-5
Browse files Browse the repository at this point in the history
6928 documentation of mp reactive messaging stream operators 3-5

#6928
  • Loading branch information
ramkumar-k-9286 committed Feb 21, 2024
1 parent c181ab0 commit 316f8f1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
15 changes: 15 additions & 0 deletions modules/ROOT/pages/metrics-list.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
:mp-4-0: feature:mpMetrics-4.0[display=MicroProfile Metrics 4.0]
:mp-5-0: feature:mpMetrics-5.0[display=MicroProfile Metrics 5.0]
:mp-ft-3-0: feature:mpFaultTolerance-3.0[display=MicroProfile Fault Tolerance 3.0]
:connector-metric-features: feature:mpMetrics[display=MicroProfile Metrics] and feature:mpReactiveMessaging[display=MicroProfile Reactive Messaging]
:base-metric-features: feature:mpMetrics[display=MicroProfile Metrics]
:vendor-metric-features: feature:mpMetrics[display=MicroProfile Metrics]
:ft-metric-features: feature:mpMetrics[display=MicroProfile Metrics] and feature:mpFaultTolerance[display=MicroProfile Fault Tolerance]
Expand Down Expand Up @@ -657,6 +658,13 @@ This metric is a gauge.
|{base-metric-features}
|{mp-1-0}

|mp.messaging.message.count{channel=“<channelname>“}
|mp_messaging_message_count{channel="<channelName>",mp_scope="base"}
|The number of messages sent on the named channel.
|Base metric, but available only when MP Metrics and MP Reactive Messaging features are enabled.
|{connector-metric-features}
|{mp-4-0}

|requestTiming.activeRequestCount
|requestTiming_activeRequestCount{mp_scope="vendor"}
|The number of servlet requests that are currently running.
Expand Down Expand Up @@ -1405,6 +1413,13 @@ This metric is a gauge.
|{base-metric-features}
|{mp-1-0}

|mp.messaging.message.count{channel=“<channelname>“}
|mp_messaging_message_count{channel="<channelName>",mp_scope="base"}
|The number of messages sent on the named channel.
|Base metric, but available only when MP Metrics and MP Reactive Messaging features are enabled.
|{connector-metric-features}
|{mp-4-0}

|requestTiming.activeRequestCount
|vendor_requestTiming_activeRequestCount
|The number of servlet requests that are currently running.
Expand Down
4 changes: 3 additions & 1 deletion modules/ROOT/pages/microprofile-config-properties.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,10 @@ The following MicroProfile Config properties can be specified when MicroProfile
|Application startup
|`mp.messaging.outgoing.my-channel.connector=io.openliberty.kafka`

|`mp.messaging.connector._connector-id_._attributename_`
|`mp.messaging.connector._connector-id_._attribute_`
|Specifies a connector attribute value.

If an attribute is specified for both the channel and its corresponding connector, the attribute set for the channel overrides that of the connector.
|Application startup
|`mp.messaging.connector.io.openliberty.kafka.bootstrap.servers=mybrokerhostname`

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
You can use MicroProfile Config properties to provide configuration values for MicroProfile Reactive Messaging. For more information, see xref:ROOT:microprofile-config-properties.adoc#react[MicroProfile Config Properties: Reactive Messaging].

Open Liberty provides a connector for Reactive Messaging to connect to a Kafka server, offering an asynchronous messaging system for MicroProfile Reactive Messaging to use for storing messages. For more information, see xref:ROOT:Liberty-kafka-Connector.adoc[Optimizing Kafka Integration with MicroProfile Messaging].

0 comments on commit 316f8f1

Please sign in to comment.