i build mongodb-sharded with bitnami/mongodb-sharded.
i use changeStream to watch a collection, and found the latency from updating a document to changeStream detected is more than one second (sometime more than 3 s).
but if i use mongodb-replicaset with bitnami/mongodb, the latency become less than 10 ms (almost instantly).
how to optimize the changeStream for mongodb-sharded