Uploaded image for project: 'Avro'
  1. Avro
  2. AVRO-2187

Add RPC Streaming constructs/keywords to Avro IDL or schema

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Motivation:

      We recently added support for transporting Avro serialization and IDL over gRPC for Java. In order to use the streaming features of gRPC or any other transport that supports streaming we need to be able to specify them IDL and schema.

      Details:

      Currently, gRPC supports 3 types of streaming calls:

      1. server streaming (server can send multiple responses for a single request)
      2. client streaming (client can multiple requests and server sends a single response)
      3. bi-directional streaming call (on going rpc with multiple requests and responses)

      We would want a way to represent these types on calls in Avro's IDL similar to one-way calls using a keywords. Usually in gRPC with other IDLs a streaming request or response is repeated payload of same type. For client streaming and bi-directional streaming it would be simpler to have a single request argument when representing their type in callbacks.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              srujann Srujan Narkedamalli
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: