You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That last link shows that librdkafka supports consuming from each partition separately. It would be great if that implementation is available in node-rdkafka as well. An example could be a PartitionConsumer class, that does not have the normal .consume methods, but .consume(topic, partition, number, callback).
The text was updated successfully, but these errors were encountered:
re: #719 . node-rdkafka would probably need to migrate to using rd_kafka_queue_new / rd_kafka_consume_queue. You can't do better if you are on rd_kafka_consume
A Consumer that is subscribed to multiple partitions cannot control the mix of messages it consumes from each partition.
There are various reasons why controlling that is relevant, see eg. #719 and https://github.com/confluentinc/librdkafka/wiki/FAQ#what-are-partition-queues-and-why-are-some-partitions-slower-than-others.
That last link shows that librdkafka supports consuming from each partition separately. It would be great if that implementation is available in node-rdkafka as well. An example could be a
PartitionConsumer
class, that does not have the normal.consume
methods, but.consume(topic, partition, number, callback)
.The text was updated successfully, but these errors were encountered: