Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-10979

[Rust] Basic Kafka Reader

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • None
    • None
    • Rust

    Description

      Introduce a basic Kafka reader based on `rdkafka`. Exposes an `Iterator` interface which yields `Result<RecordBatch>`.

      Columns in the batch are:

      key (Binary, nullable): The key of a message, if present.

      payload (Binary, nullable): The payload bytes of a message, if present.

      topic (Utf8): The topic of the message.

      partition (Int32): The partition of the message.

      offset (Int64): The offset of the message.

       

      Note that `rdkafka` has a C++ dependency (`librdkafka`), but we can choose to make this dynamically linked. `rdkafka` provides an `async` Consumer, but I have explicitly chosen the non-`async` Consumer.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kflansburg Kevin Flansburg
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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