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

[Rust] Basic Kafka Reader

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: 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

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kflansburg Kevin Flansburg

              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

                  Issue deployment