Skip to content

Commit a50c3c9

Browse files
committed
done
1 parent 2133bf5 commit a50c3c9

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

spring-kafka-docs/src/main/antora/modules/ROOT/pages/kafka/micrometer.adoc

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,10 @@ When it is `null` (default), the admin will invoke the `describeCluster` admin o
123123
[[batch-listener-obs]]
124124
=== Batch Listener Observations
125125

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.
130128

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`.
133130

134131
[source,java]
135132
----
@@ -145,7 +142,5 @@ ConcurrentKafkaListenerContainerFactory<?, ?> kafkaListenerContainerFactory(
145142
}
146143
----
147144

148-
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

Comments
 (0)