You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/micrometer.adoc
+5-10Lines changed: 5 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -123,13 +123,10 @@ When it is `null` (default), the admin will invoke the `describeCluster` admin o
123
123
[[batch-listener-obs]]
124
124
=== Batch Listener Observations
125
125
126
-
When using a batch listener, by default, no observations are created, even if a
127
-
`ObservationRegistry` is present.
128
-
This is because the scope of an observation is tied to the thread, and with a batch
129
-
listener, there is no one-to-one mapping between an observation and a record.
126
+
When using a batch listener, by default, no observations are created, even if a `ObservationRegistry` is present.
127
+
This is because the scope of an observation is tied to the thread, and with a batch listener, there is no one-to-one mapping between an observation and a record.
130
128
131
-
To enable per-record observations in a batch listener, set the container factory
132
-
property `recordObservationsInBatch` to `true`.
129
+
To enable per-record observations in a batch listener, set the container factory property `recordObservationsInBatch` to `true`.
When this property is `true`, an observation will be created for each record in the
149
-
batch, but the observation is not propagated to the listener method.
150
-
This allows you to have visibility into the processing of each record, even within a
151
-
batch context.
145
+
When this property is `true`, an observation will be created for each record in the batch, but the observation is not propagated to the listener method.
146
+
This allows you to have visibility into the processing of each record, even within a batch context.
0 commit comments