@@ -139,9 +139,9 @@ in the state of the MongoDB instance or cluster you have connected the driver to
139
139
The driver defines nine SDAM events and provides the following listener
140
140
interfaces, which listen for three SDAM events each:
141
141
142
- - `` ClusterListener``: Listens for topology-related events
143
- - `` ServerListener``: Listens for events related to ``mongod`` or ``mongos`` processes
144
- - `` ServerMonitorListener``: Listens for heartbeat-related events
142
+ - ` `` ClusterListener`` <{+core-api+}/com/mongodb/event/ClusterListener.html>`__ : Listens for topology-related events
143
+ - ` `` ServerListener`` <{+core-api+}/com/mongodb/event/ServerListener.html>`__ : Listens for events related to ``mongod`` or ``mongos`` processes
144
+ - ` `` ServerMonitorListener`` <{+core-api+}/com/mongodb/event/ServerMonitorListener.html>`__ : Listens for heartbeat-related events
145
145
146
146
To monitor a type of SDAM event, create a class that implements one of the three
147
147
preceding interfaces and register an instance of that class with your
@@ -158,7 +158,7 @@ availability of your MongoDB instance.
158
158
To make an event that reports write status, perform the following tasks:
159
159
160
160
#. Make a class that tracks cluster description changes, and
161
- implements the ``CommandListener `` interface.
161
+ implements the ``ClusterListener `` interface.
162
162
#. Add an instance of the new class to a ``MongoClientSettings`` object.
163
163
#. Configure your ``MongoClient`` instance with the ``MongoClientSettings`` object.
164
164
@@ -368,8 +368,8 @@ tracks requests as they propagate throughout different services in a
368
368
service-oriented architecture.
369
369
370
370
If you use the driver in a `Spring Cloud <https://spring.io/projects/spring-cloud>`__
371
- application, use to include MongoDB event data in the `Zipkin
372
- <https://zipkin.io/>`__ distributed tracing system.
371
+ application, use Spring Cloud Sleuth to include MongoDB event data in the
372
+ `Zipkin <https://zipkin.io/>`__ distributed tracing system.
373
373
374
374
If you do not use Spring Cloud or want to include driver event data in a distributed
375
375
tracing system other than Zipkin, you must write a command event listener that
0 commit comments