Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-14248

The docs page lists incorrect imports for Reactive Streams with the java driver

    XMLWordPrintable

Details

    • 1
    • DevEd Q1S5 Isle Royale 03/30
    • true

    Description

      Description

      The wrong imports are on:

      https://docs.mongodb.com/drivers/reactive-streams/

      import com.mongodb.ConnectionString;
      import com.mongodb.client.MongoClients;
      import com.mongodb.client.MongoClient;
      import com.mongodb.client.MongoDatabase;
      import com.mongodb.MongoClientSettings;

       

      The correct imports are explained at:

      https://mongodb.github.io/mongo-java-driver/4.1/driver-reactive/getting-started/quick-start/

      import com.mongodb.reactivestreams.client.MongoClient;

      import com.mongodb.reactivestreams.client.MongoClients;

      import com.mongodb.reactivestreams.client.MongoCollection;

      import com.mongodb.reactivestreams.client.MongoDatabase;

      import com.mongodb.reactivestreams.client.Success;

       

      Notice the “reactivestreams” component on it.

      Scope of changes

      As a user, I can correctly import required classes for reactive streams.

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

      Attachments

        Activity

          People

            kailie.yuan@mongodb.com Kailie Yuan
            aniket.kadam@mongodb.com Aniket Kadam (Inactive)
            Kailie Yuan Kailie Yuan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 36 weeks ago