Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Invalid
-
None
-
None
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
- links to