Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2506

Create async driver API based on Java 9's Flow API

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: API, Async
    • None

      Java 9 introduces a reactive streams-based API in the class java.util.concurrent.Flow, which defines three relevant static interfaces:

      • Publisher
      • Subscriber
      • Subscription

      We should provide a new API based on these interfaces, similar to our rxjava and reactivestreams drivers. But since these are core APIs in the JDK we can offer these in a module of the main driver (e.g driver-flow or driver-async-flow).

            Assignee:
            Unassigned Unassigned
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: