Skip to content

Latest commit

 

History

History
62 lines (53 loc) · 2 KB

TODO.md

File metadata and controls

62 lines (53 loc) · 2 KB

Basic:

  • Consumer,Producer,Topic CRUD.
  • Produce and consume messages.
  • Support for topic properties.
  • Support to consume batch of messages.
  • Support to produce batch of messages.
  • Support for queues.
  • Support for keys.
  • Lwt support.
  • Async support.
  • Support for the high-level KafkaConsumer interface (rd_kafka_subscribe)

Errors:

  • Update the list of errors
  • Check if an error is fatale/retriable

Callbacks:

  • Support for delivery report callback.
  • Support for error and log callbacks.
  • Support for statistics callback.
  • Support for msg_opaque data on produce/delivery_callback.
  • Fix: the partitionner callback is never called.
  • Support to consume messages through a callback.

Messages

  • Wrap messages in message enveloppes with topic,partition,offset,payload,key.
  • Improve error handling on consume : PartitionEnd vs timeout or error.
  • Support for timestamp of a message.
  • Do we need to support headers?

Offsets

  • Support for stored offsets.
  • Specific offsets: Kafka.offset_stored, Kafka.offset_tail(n).
  • Support for look up of offsets by timestamp.
  • rd_kafka_commit_queue

Resources

  • Free messages once consumed using rd_kafka_message_destroy.
  • Function: Kafka.wait_destroyed.
  • rd_kafka_flush

Meta-data

  • Value Kafka.librdkafka_version: string.
  • Meta-data: topic list, partition list.
  • Meta-data: server list, list of replica.
  • Move all meta-data related values in Kafka.Metadata

Lwt:

  • Do we have to distinguish types: consumer vs producer ?
  • Integration tests
  • In the readme, say a word about Lwt.
  • Add group id to consumer/producer tools.

Async:

  • In the readme, say a word about Async.
  • Improve Consumer/Producer tools, notably with args for cluster and group id.

Misc

  • Function: Kafka.outq_len.
  • rd_kafka_queue_length
  • Introduce a Kafka.Timeout exception.
  • Support for events.