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

    • Last comment by Customer:
      true
    • Story Points:
      1
    • Sprint:
      DevEd Q1S5 Isle Royale 03/30

      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

            Assignee:
            kailie.yuan Kailie Yuan
            Reporter:
            aniket.kadam Aniket Kadam (Inactive)
            Participants:
            Last commenter:
            Kailie Yuan Kailie Yuan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              16 weeks, 6 days ago
              Date of 1st Reply: