Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-23797

.NET: IDataStreamerTarget lacks overloads with IEnumerable sources

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • 3.1
    • .NET, platforms

    Description

      Data streamer requires IAsyncEnumerable source. However, data sources are often synchronous (like an in-memory collection).

      There is no way to convert an IEnumerable to an IAsyncEnumerable in the standard library. The user has to install System.Linq.Async or implement their own extension.

      We can provide an extension method and corresponding overloads to simplify the streamer API usage.

      POC: https://github.com/apache/ignite-3/pull/4800/files

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m